ARM: rmobile: Remove AVB clock configuration from board files
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 15 Sep 2017 19:12:19 +0000 (21:12 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sun, 24 Sep 2017 05:12:07 +0000 (14:12 +0900)
The configuration is now fully performed by the AVB and clk drivers,
so remove it from the board file.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c

index 9718a49..6b361b3 100644 (file)
@@ -49,7 +49,6 @@ void s_init(void)
 #define TMU0_MSTP125           BIT(25) /* secure */
 #define TMU1_MSTP124           BIT(24) /* non-secure */
 #define SCIF2_MSTP310          BIT(10) /* SCIF2 */
-#define ETHERAVB_MSTP812       BIT(12)
 #define DVFS_MSTP926           BIT(26)
 #define HSUSB_MSTP704          BIT(4)  /* HSUSB */
 
@@ -59,8 +58,6 @@ int board_early_init_f(void)
        mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124);
        /* SCIF2 */
        mstp_clrbits_le32(MSTPSR3, SMSTPCR3, SCIF2_MSTP310);
-       /* EHTERAVB */
-       mstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHERAVB_MSTP812);
 
 #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
        /* DVFS for reset */
index 522fece..f649489 100644 (file)
@@ -48,7 +48,6 @@ void s_init(void)
 #define TMU0_MSTP125           BIT(25) /* secure */
 #define TMU1_MSTP124           BIT(24) /* non-secure */
 #define SCIF2_MSTP310          BIT(10) /* SCIF2 */
-#define ETHERAVB_MSTP812       BIT(12)
 #define DVFS_MSTP926           BIT(26)
 #define HSUSB_MSTP704          BIT(4)  /* HSUSB */
 
@@ -58,8 +57,6 @@ int board_early_init_f(void)
        mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125 | TMU1_MSTP124);
        /* SCIF2 */
        mstp_clrbits_le32(MSTPSR3, SMSTPCR3, SCIF2_MSTP310);
-       /* EHTERAVB */
-       mstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHERAVB_MSTP812);
 
 #if defined(CONFIG_SYS_I2C) && defined(CONFIG_SYS_I2C_SH)
        /* DVFS for reset */