summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-14 23:18:08 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:57 -0700
commit320de1354f1c8157f7d6dd7753e46cec3a418089 (patch)
tree949759501025f7e03a8f4cd50b059ede776939b6
parent8bdd7efa2336310941e818f0b441ddc3946721de (diff)
downloadu-boot-imx-320de1354f1c8157f7d6dd7753e46cec3a418089.zip
u-boot-imx-320de1354f1c8157f7d6dd7753e46cec3a418089.tar.gz
u-boot-imx-320de1354f1c8157f7d6dd7753e46cec3a418089.tar.bz2
serial: mxs: spl: Remove empty serial_* functions from SPL code
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>
-rw-r--r--arch/arm/cpu/arm926ejs/mxs/spl_boot.c4
1 files changed, 0 insertions, 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)
;
}
-#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)
{