diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-10-01 07:46:55 +1000 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-10-03 07:23:16 -0500 |
commit | bedfc8a040378cb51f46155c980d295c2c397203 (patch) | |
tree | 1f1dfdf1c97e6ee125a91fafc25d6725b7a96afe /arch/ppc/boot/simple/misc-embedded.c | |
parent | 267b49a96e30f129600bdb4f3fa6d80d6dd42523 (diff) | |
download | linux-bedfc8a040378cb51f46155c980d295c2c397203.tar.gz linux-bedfc8a040378cb51f46155c980d295c2c397203.tar.bz2 linux-bedfc8a040378cb51f46155c980d295c2c397203.zip |
[POWERPC] Uartlite: Flush RX fifo in bootwrapper
Flush the uartlite RX fifo so that characters typed before entry into
the zImage wrapper do not muck up the kernel command line.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/ppc/boot/simple/misc-embedded.c')
-rw-r--r-- | arch/ppc/boot/simple/misc-embedded.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ppc/boot/simple/misc-embedded.c b/arch/ppc/boot/simple/misc-embedded.c index 8a08ad397ed5..d5a00eb0e4eb 100644 --- a/arch/ppc/boot/simple/misc-embedded.c +++ b/arch/ppc/boot/simple/misc-embedded.c @@ -89,7 +89,9 @@ load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, bd_t *b * initialize the serial console port. */ embed_config(&bp); -#if defined(CONFIG_SERIAL_CPM_CONSOLE) || defined(CONFIG_SERIAL_8250_CONSOLE) +#if defined(CONFIG_SERIAL_CPM_CONSOLE) || \ + defined(CONFIG_SERIAL_8250_CONSOLE) || \ + defined(CONFIG_SERIAL_UARTLITE_CONSOLE) com_port = serial_init(0, bp); #endif |