projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7313e21
)
altera_sysid: change ioremap to map_physmem
author
Thomas Chou
<thomas@wytron.com.tw>
Sat, 14 Nov 2015 03:18:52 +0000
(11:18 +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/misc/altera_sysid.c
patch
|
blob
|
history
diff --git
a/drivers/misc/altera_sysid.c
b/drivers/misc/altera_sysid.c
index 737520f2478966eee149830cc4e4701c3cef2fb2..2d0fa2a7dd1c82cc41417a9ceda58b2a565736a0 100644
(file)
--- a/
drivers/misc/altera_sysid.c
+++ b/
drivers/misc/altera_sysid.c
@@
-76,8
+76,9
@@
static int altera_sysid_ofdata_to_platdata(struct udevice *dev)
{
struct altera_sysid_platdata *plat = dev_get_platdata(dev);
- plat->regs = ioremap(dev_get_addr(dev),
- sizeof(struct altera_sysid_regs));
+ plat->regs = map_physmem(dev_get_addr(dev),
+ sizeof(struct altera_sysid_regs),
+ MAP_NOCACHE);
return 0;
}