diff options
author | Wolfgang Denk <wd@denx.de> | 2010-08-04 00:35:10 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-04 00:35:10 +0200 |
commit | 9efac4a1eb99d9c5539aa6992025eeacab7980c6 (patch) | |
tree | 518c81f209eec164b15466e412d88bde0fa68291 /drivers/serial/serial_s5p.c | |
parent | ac956293befb265b8958654d08c4ad52e605d46e (diff) | |
parent | 87f314e98beae1d922ef5d182eb9b4c2027f11ed (diff) | |
download | u-boot-imx-9efac4a1eb99d9c5539aa6992025eeacab7980c6.zip u-boot-imx-9efac4a1eb99d9c5539aa6992025eeacab7980c6.tar.gz u-boot-imx-9efac4a1eb99d9c5539aa6992025eeacab7980c6.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-samsung
Diffstat (limited to 'drivers/serial/serial_s5p.c')
-rw-r--r-- | drivers/serial/serial_s5p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_s5p.c b/drivers/serial/serial_s5p.c index 9747db3..e0d4e80 100644 --- a/drivers/serial/serial_s5p.c +++ b/drivers/serial/serial_s5p.c @@ -133,7 +133,7 @@ int serial_getc_dev(const int dev_index) return 0; } - return (int)(readl(&uart->urxh) & 0xff); + return (int)(readb(&uart->urxh) & 0xff); } /* @@ -149,7 +149,7 @@ void serial_putc_dev(const char c, const int dev_index) return; } - writel(c, &uart->utxh); + writeb(c, &uart->utxh); /* If \n, also do \r */ if (c == '\n') |