mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
Fix merge problems
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
f2302d4430
commit
1318673045
1 changed files with 0 additions and 14 deletions
|
@ -54,13 +54,8 @@ void serial_putc(const char c)
|
|||
{
|
||||
if (c == '\n')
|
||||
serial_putc('\r');
|
||||
<<<<<<< .merge_file_kaofiJ
|
||||
while (in_be32((void *)UARTLITE_STATUS) & SR_TX_FIFO_FULL);
|
||||
out_be32((void *)UARTLITE_TX_FIFO, (unsigned char) (c & 0xff));
|
||||
=======
|
||||
while (in_be32((u32 *) UARTLITE_STATUS) & SR_TX_FIFO_FULL);
|
||||
out_be32((u32 *) UARTLITE_TX_FIFO, (unsigned char) (c & 0xff));
|
||||
>>>>>>> .merge_file_zSz9BG
|
||||
}
|
||||
|
||||
void serial_puts(const char * s)
|
||||
|
@ -72,20 +67,11 @@ void serial_puts(const char * s)
|
|||
|
||||
int serial_getc(void)
|
||||
{
|
||||
<<<<<<< .merge_file_kaofiJ
|
||||
while (!(in_be32((void *)UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA));
|
||||
return in_be32((void *)UARTLITE_RX_FIFO) & 0xff;
|
||||
=======
|
||||
while (!(in_be32((u32 *) UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA));
|
||||
return in_be32((u32 *) UARTLITE_RX_FIFO) & 0xff;
|
||||
>>>>>>> .merge_file_zSz9BG
|
||||
}
|
||||
|
||||
int serial_tstc(void)
|
||||
{
|
||||
<<<<<<< .merge_file_kaofiJ
|
||||
return (in_be32((void *)UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA);
|
||||
=======
|
||||
return (in_be32((u32 *) UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA);
|
||||
>>>>>>> .merge_file_zSz9BG
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue