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:
parent
c56e8ca71c
commit
26bae72ca5
|
@ -1 +1 @@
|
|||
obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o
|
||||
obj-y += serial.o
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue