projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe52456
)
altera_jtag_uart: change ioremap to map_physmem
author
Thomas Chou
<thomas@wytron.com.tw>
Sat, 14 Nov 2015 02:36:49 +0000
(10:36 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Wed, 18 Nov 2015 13:18:30 +0000
(21:18 +0800)
Change ioremap() to map_physmem(), as it is more used in u-boot.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/serial/altera_jtag_uart.c
patch
|
blob
|
history
diff --git
a/drivers/serial/altera_jtag_uart.c
b/drivers/serial/altera_jtag_uart.c
index c77bea3a1e013a728501f53bcf1cdc86fbb86829..cb11b3132659757ce67e94339165800079390de6 100644
(file)
--- a/
drivers/serial/altera_jtag_uart.c
+++ b/
drivers/serial/altera_jtag_uart.c
@@
-97,8
+97,9
@@
static int altera_jtaguart_ofdata_to_platdata(struct udevice *dev)
{
struct altera_jtaguart_platdata *plat = dev_get_platdata(dev);
- plat->regs = ioremap(dev_get_addr(dev),
- sizeof(struct altera_jtaguart_regs));
+ plat->regs = map_physmem(dev_get_addr(dev),
+ sizeof(struct altera_jtaguart_regs),
+ MAP_NOCACHE);
return 0;
}