]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
serial: mxs: spl: Remove empty serial_* functions from SPL code
authorMarek Vasut <marex@denx.de>
Fri, 14 Sep 2012 21:18:08 +0000 (23:18 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:57 +0000 (11:53 -0700)
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 <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_boot.c

index ad66c57c5d396660a4428970de394da58ad6fe5d..8ea7c36f46f8d94ed5b5953362fead3f431ba254 100644 (file)
@@ -124,10 +124,6 @@ inline void board_init_r(gd_t *id, ulong dest_addr)
                ;
 }
 
-#ifndef CONFIG_SPL_SERIAL_SUPPORT
-void serial_putc(const char c) {}
-void serial_puts(const char *s) {}
-#endif
 void hang(void) __attribute__ ((noreturn));
 void hang(void)
 {