projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spl, common, serial: build SPL without serial support
[oweals/u-boot.git]
/
arch
/
arm
/
mach-at91
/
spl_at91.c
diff --git
a/arch/arm/mach-at91/spl_at91.c
b/arch/arm/mach-at91/spl_at91.c
index a79a9dce75ac6548eb9729ce7d61ac0b49fab8b5..b19f95b0d07eaad86710d1a8558da0d93120cb56 100644
(file)
--- 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();