Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67461
b: refs/heads/master
c: bedfc8a
h: refs/heads/master
i:
  67459: 270cfde
v: v3
  • Loading branch information
Grant Likely authored and Josh Boyer committed Oct 3, 2007
1 parent a09fd5d commit dd1540e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 267b49a96e30f129600bdb4f3fa6d80d6dd42523
refs/heads/master: bedfc8a040378cb51f46155c980d295c2c397203
4 changes: 3 additions & 1 deletion trunk/arch/ppc/boot/simple/misc-embedded.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/ppc/boot/simple/uartlite_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@

#define UARTLITE_BASEADDR ((void*)(XPAR_UARTLITE_0_BASEADDR))

unsigned long
serial_init(int chan, void *ignored)
{
/* Clear the RX FIFO */
out_be32(UARTLITE_BASEADDR + 0x0C, 0x2);
return 0;
}

void
serial_putc(unsigned long com_port, unsigned char c)
{
Expand Down

0 comments on commit dd1540e

Please sign in to comment.