ARM: rmobile: Remove TMU0/TMU1 settings on Gen3
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Wed, 30 Mar 2016 01:56:21 +0000 (10:56 +0900)
committerMarek Vasut <marex@denx.de>
Thu, 18 Oct 2018 17:07:46 +0000 (19:07 +0200)
U-Boot uses ARM generic timer, TMU0 and TMU1 are not used, remove them.

Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
board/renesas/draak/draak.c
board/renesas/eagle/eagle.c
board/renesas/ebisu/ebisu.c
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c

index e7f0bd7b6581549f41d2277a843f9a2ec8c3c3e7..f9ae74a39dcc23744ccdeedd15df5ffd4a344f29 100644 (file)
@@ -44,17 +44,12 @@ void s_init(void)
 }
 
 #define GSX_MSTP112            BIT(12) /* 3DG */
-#define TMU0_MSTP125           BIT(25) /* secure */
-#define TMU1_MSTP124           BIT(24) /* non-secure */
 #define SCIF2_MSTP310          BIT(10) /* SCIF2 */
 #define DVFS_MSTP926           BIT(26)
 #define HSUSB_MSTP704          BIT(4)  /* HSUSB */
 
 int board_early_init_f(void)
 {
-       /* TMU0,1 */            /* which use ? */
-       mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124);
-
 #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
        /* DVFS for reset */
        mstp_clrbits_le32(MSTPSR9, SMSTPCR9, DVFS_MSTP926);
index 931741007196745a4f9e35b43df0901f4d0004ba..0e5efea19d0719c839ff925925110ee69305e309 100644 (file)
@@ -50,17 +50,12 @@ void s_init(void)
        clrsetbits_le32(PLL0CR, PLL0_STC_MASK, stc);
 }
 
-#define TMU0_MSTP125           BIT(25) /* secure */
-
 int board_early_init_f(void)
 {
        /* Unlock CPG access */
        writel(0xA5A5FFFF, CPGWPR);
        writel(0x5A5A0000, CPGWPCR);
 
-       /* TMU0 */
-       mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);
-
        return 0;
 }
 
index 248223b444bb5a75eb3a5d00988c7de553cd9a5e..5d8b79eee319e51774524c26257a2c409623e6c7 100644 (file)
@@ -30,13 +30,8 @@ void s_init(void)
 {
 }
 
-#define TMU0_MSTP125           BIT(25) /* secure */
-
 int board_early_init_f(void)
 {
-       /* TMU0 */
-       mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);
-
        return 0;
 }
 
index 746403a5c52cd1f7ab25215a6f575f2dc48adce4..cb5228a0bdf7402201aedc8f278a59277921c25f 100644 (file)
@@ -45,17 +45,12 @@ void s_init(void)
 }
 
 #define GSX_MSTP112            BIT(12) /* 3DG */
-#define TMU0_MSTP125           BIT(25) /* secure */
-#define TMU1_MSTP124           BIT(24) /* non-secure */
 #define SCIF2_MSTP310          BIT(10) /* SCIF2 */
 #define DVFS_MSTP926           BIT(26)
 #define HSUSB_MSTP704          BIT(4)  /* HSUSB */
 
 int board_early_init_f(void)
 {
-       /* TMU0,1 */            /* which use ? */
-       mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124);
-
 #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
        /* DVFS for reset */
        mstp_clrbits_le32(MSTPSR9, SMSTPCR9, DVFS_MSTP926);
index dfe8efd3ac4d7b44c518b43f034763d901124a50..fca6eae1fb5d5fa0268dbd9b72fe4bab9fac35b3 100644 (file)
@@ -44,17 +44,12 @@ void s_init(void)
 }
 
 #define GSX_MSTP112            BIT(12) /* 3DG */
-#define TMU0_MSTP125           BIT(25) /* secure */
-#define TMU1_MSTP124           BIT(24) /* non-secure */
 #define SCIF2_MSTP310          BIT(10) /* SCIF2 */
 #define DVFS_MSTP926           BIT(26)
 #define HSUSB_MSTP704          BIT(4)  /* HSUSB */
 
 int board_early_init_f(void)
 {
-       /* TMU0,1 */            /* which use ? */
-       mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124);
-
 #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
        /* DVFS for reset */
        mstp_clrbits_le32(MSTPSR9, SMSTPCR9, DVFS_MSTP926);