mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-28 20:37:57 +02:00
[ramips] rt288x: fix serial console
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17450 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fa2d631359
commit
69d56315ef
@ -57,7 +57,6 @@ static void __init rt288x_detect_mem_size(void)
|
|||||||
add_memory_region(RT2880_SDRAM_BASE, size, BOOT_MEM_RAM);
|
add_memory_region(RT2880_SDRAM_BASE, size, BOOT_MEM_RAM);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_RT288X_EARLY_SERIAL
|
|
||||||
static void __init rt288x_early_serial_setup(void)
|
static void __init rt288x_early_serial_setup(void)
|
||||||
{
|
{
|
||||||
struct uart_port p;
|
struct uart_port p;
|
||||||
@ -90,9 +89,6 @@ static void __init rt288x_early_serial_setup(void)
|
|||||||
printk(KERN_ERR "RT288x: early UART1 registration failed %d\n",
|
printk(KERN_ERR "RT288x: early UART1 registration failed %d\n",
|
||||||
err);
|
err);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
static inline void rt288x_early_serial_setup(void) {};
|
|
||||||
#endif /* CONFIG_RT288X_EARLY_SERIAL */
|
|
||||||
|
|
||||||
const char *get_system_type(void)
|
const char *get_system_type(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user