summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>2018-09-25 19:03:03 +0900
committerMarek Vasut <marex@denx.de>2018-10-18 19:07:46 +0200
commita14d2d153db7b42b9ad0b03a7b772b32bbd8746f (patch)
treec00fef8694c7902867c9c0a56d70db280039224b /board
parent1c1fd9f9689b6a963cb959d95cb884dd783af823 (diff)
downloadu-boot-a14d2d153db7b42b9ad0b03a7b772b32bbd8746f.tar.gz
u-boot-a14d2d153db7b42b9ad0b03a7b772b32bbd8746f.tar.xz
u-boot-a14d2d153db7b42b9ad0b03a7b772b32bbd8746f.zip
ARM: rmobile: salvator-x: Remove GSX clock force supply
GSX clock force supply code is unnecessary at U-Boot, because GSX clock control is supported at the kernel driver. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/salvator-x/salvator-x.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
index 296aa90a12..726a236af3 100644
--- a/board/renesas/salvator-x/salvator-x.c
+++ b/board/renesas/salvator-x/salvator-x.c
@@ -31,7 +31,6 @@ void s_init(void)
{
}
-#define GSX_MSTP112 BIT(12) /* 3DG */
#define SCIF2_MSTP310 BIT(10) /* SCIF2 */
#define DVFS_MSTP926 BIT(26)
#define HSUSB_MSTP704 BIT(4) /* HSUSB */
@@ -60,20 +59,9 @@ int board_early_init_f(void)
int board_init(void)
{
- u32 cpu_type = rmobile_get_cpu_type();
-
/* adress of boot parameters */
gd->bd->bi_boot_params = CONFIG_SYS_TEXT_BASE + 0x50000;
- if (cpu_type == RMOBILE_CPU_TYPE_R8A7795) {
- /* GSX: force power and clock supply */
- writel(0x0000001F, SYSC_PWRONCR2);
- while (readl(SYSC_PWRSR2) != 0x000003E0)
- mdelay(20);
-
- mstp_clrbits_le32(MSTPSR1, SMSTPCR1, GSX_MSTP112);
- }
-
/* USB1 pull-up */
setbits_le32(PFC_PUEN6, PUEN_USB1_OVC | PUEN_USB1_PWEN);