[U-Boot] [PATCH 08/12] ARM: uniphier: remove IECTRL setup code of LD4 SoC

Masahiro Yamada yamada.masahiro at socionext.com
Tue Sep 13 18:06:06 CEST 2016


This should be handled by the pinctrl driver.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c b/arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c
index 625d40c..7ff85b6 100644
--- a/arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c
+++ b/arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c
@@ -11,8 +11,6 @@
 
 void uniphier_ld4_pin_init(void)
 {
-	u32 tmp;
-
 	/* Comment format:    PAD Name -> Function Name */
 
 #ifdef CONFIG_NAND_DENALI
@@ -34,8 +32,4 @@ void uniphier_ld4_pin_init(void)
 	sg_set_pinsel(30, 0, 8, 4);	/* MMCDAT6 -> NFD6_GB */
 	sg_set_pinsel(31, 0, 8, 4);	/* MMCDAT7 -> NFD7_GB */
 #endif
-
-	tmp = readl(SG_IECTRL);
-	tmp |= 0x41;
-	writel(tmp, SG_IECTRL);
 }
-- 
1.9.1



More information about the U-Boot mailing list