diff options
author | Heiko Schocher <hs@denx.de> | 2015-06-29 09:10:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:13 -0400 |
commit | 80402f34f8e1f46134a0272ff4d34be64ff7380b (patch) | |
tree | 5fcf26d057c39f522fe4cf6ed77966dc322d72b8 /arch/arm/mach-at91/spl_at91.c | |
parent | acb5ff021eb65931d3e970da8ff0a00dda0cd088 (diff) | |
download | u-boot-80402f34f8e1f46134a0272ff4d34be64ff7380b.zip u-boot-80402f34f8e1f46134a0272ff4d34be64ff7380b.tar.gz u-boot-80402f34f8e1f46134a0272ff4d34be64ff7380b.tar.bz2 |
spl, common, serial: build SPL without serial support
This patch enables building SPL without
CONFIG_SPL_SERIAL_SUPPORT support.
Signed-off-by: Heiko Schocher <hs@denx.de>
[trini: Ensure we build arch/arm/imx-common on mx28]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-at91/spl_at91.c')
-rw-r--r-- | arch/arm/mach-at91/spl_at91.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/spl_at91.c b/arch/arm/mach-at91/spl_at91.c index a79a9dc..b19f95b 100644 --- a/arch/arm/mach-at91/spl_at91.c +++ b/arch/arm/mach-at91/spl_at91.c @@ -123,9 +123,12 @@ void board_init_f(ulong dummy) at91_periph_clk_enable(ATMEL_ID_PIOB); at91_periph_clk_enable(ATMEL_ID_PIOC); #endif + +#if defined(CONFIG_SPL_SERIAL_SUPPORT) /* init console */ at91_seriald_hw_init(); preloader_console_init(); +#endif mem_init(); |