summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_early_init_f.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-21 05:43:18 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-24 00:54:08 (GMT)
commit9d0c2ceb35be7016977560a92fc67e3e704e5c9f (patch)
tree67f17e8bbc13a293b7d24f7789a3fb0692c1e284 /arch/arm/mach-uniphier/board_early_init_f.c
parent881aa5a79a94a65500959428328f348a18d3d9fe (diff)
downloadu-boot-fsl-qoriq-9d0c2ceb35be7016977560a92fc67e3e704e5c9f.tar.xz
ARM: uniphier: add PH1-LD20 SoC support
This is the first ARMv8 SoC from Socionext Inc. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_early_init_f.c')
-rw-r--r--arch/arm/mach-uniphier/board_early_init_f.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/board_early_init_f.c b/arch/arm/mach-uniphier/board_early_init_f.c
index 6f2adf1..2a7ae1b 100644
--- a/arch/arm/mach-uniphier/board_early_init_f.c
+++ b/arch/arm/mach-uniphier/board_early_init_f.c
@@ -62,6 +62,14 @@ int board_early_init_f(void)
uniphier_pxs2_clk_init();
break;
#endif
+#if defined(CONFIG_ARCH_UNIPHIER_LD20)
+ case SOC_UNIPHIER_LD20:
+ uniphier_ld20_pin_init();
+ led_puts("U1");
+ uniphier_ld20_clk_init();
+ cci500_init(2);
+ break;
+#endif
default:
break;
}