9
0
Fork 0

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>
This commit is contained in:
Antony Pavlov 2014-03-25 20:50:57 +04:00 committed by Sascha Hauer
parent c56e8ca71c
commit 26bae72ca5
2 changed files with 3 additions and 8 deletions

View File

@ -1 +1 @@
obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o
obj-y += serial.o

View File

@ -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);