]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: remove IECTRL setup code of LD4 SoC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Sep 2016 16:06:06 +0000 (01:06 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 14 Sep 2016 13:54:19 +0000 (22:54 +0900)
This should be handled by the pinctrl driver.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/pinctrl/pinctrl-ld4.c

index 625d40c450abf542cec79deafd39a74722a7c34a..7ff85b6b5ad6257c95a4c6b7751e57382ff0378e 100644 (file)
@@ -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);
 }