diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-03-25 20:50:57 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-26 09:02:41 +0100 |
commit | 26bae72ca55bbd39a6055c187b881afea2588aa7 (patch) | |
tree | 1130318db2390b327c6f269c524c953015c26ddd /arch/mips | |
parent | c56e8ca71ceb88918ebaf24703c1b821f5bdbe68 (diff) | |
download | barebox-26bae72ca55bbd39a6055c187b881afea2588aa7.tar.gz barebox-26bae72ca55bbd39a6055c187b881afea2588aa7.tar.xz |
MIPS: rzx50: drop console initialization in board code
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/boards/rzx50/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/boards/rzx50/serial.c | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/arch/mips/boards/rzx50/Makefile b/arch/mips/boards/rzx50/Makefile index ff1a655afe..31c062987f 100644 --- a/arch/mips/boards/rzx50/Makefile +++ b/arch/mips/boards/rzx50/Makefile @@ -1 +1 @@ -obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o +obj-y += serial.o diff --git a/arch/mips/boards/rzx50/serial.c b/arch/mips/boards/rzx50/serial.c index 566356aaa5..f1e8da0072 100644 --- a/arch/mips/boards/rzx50/serial.c +++ b/arch/mips/boards/rzx50/serial.c @@ -17,16 +17,11 @@ #include <common.h> #include <init.h> -#include <mach/devices.h> -#include <mach/jz4750d_regs.h> -static int rzx50_console_init(void) +static int rzx50_hostname_init(void) { barebox_set_hostname("rzx50"); - /* Register the serial port */ - jz_add_uart(DEVICE_ID_DYNAMIC, UART1_BASE, 12000000); - return 0; } -console_initcall(rzx50_console_init); +console_initcall(rzx50_hostname_init); |