ARM: UniPhier: call pin_init() also in the normal boot
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / uniphier / board_postclk_init.c
index 3db336f..89e44bb 100644 (file)
@@ -20,6 +20,7 @@ void clkrst_init(void);
 
 int board_postclk_init(void)
 {
+#ifdef CONFIG_SOC_INIT
        bcu_init();
 
        sbc_init();
@@ -37,7 +38,7 @@ int board_postclk_init(void)
        clkrst_init();
 
        led_write(B, 2, , );
-
+#endif
        pin_init();
 
        led_write(B, 3, , );