Patchwork [U-Boot,62/70] serial: mxs: spl: Remove empty serial_* functions from SPL code

mail settings
Submitter Marek Vasut
Date Sept. 29, 2012, 12:31 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/187975/
State Superseded
Delegated to: Marek Vasut
Headers show


Marek Vasut - Sept. 29, 2012, 12:31 a.m.
Remove the empty bodies from serial_* functions from MXS SPL code.
These empty implementations are now in common/serial.c instead so
declaring them also in the SPL code would cause a colision once
serial multi is enabled unconditionally.

Signed-off-by: Marek Vasut <>
Cc: Marek Vasut <>
Cc: Tom Rini <>
Cc: Stefano Babic <>
 arch/arm/cpu/arm926ejs/mxs/spl_boot.c |    4 ----
 1 file changed, 4 deletions(-)


diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
index ad66c57..8ea7c36 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
@@ -124,10 +124,6 @@  inline void board_init_r(gd_t *id, ulong dest_addr)
-void serial_putc(const char c) {}
-void serial_puts(const char *s) {}
 void hang(void) __attribute__ ((noreturn));
 void hang(void)