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:
9cbb923
)
altera_tse: change ioremap to map_physmem
author
Thomas Chou
<thomas@wytron.com.tw>
Sat, 14 Nov 2015 03:21:16 +0000
(11:21 +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/net/altera_tse.c
patch
|
blob
|
history
diff --git
a/drivers/net/altera_tse.c
b/drivers/net/altera_tse.c
index
5692fe9
..
3eaa270
100644
(file)
--- a/
drivers/net/altera_tse.c
+++ b/
drivers/net/altera_tse.c
@@
-608,7
+608,7
@@
static int altera_tse_probe(struct udevice *dev)
addr = fdt_translate_address((void *)blob,
node, cell + idx);
size = fdt_addr_to_cpu(cell[idx + addrc]);
- base =
ioremap(addr, size
);
+ base =
map_physmem(addr, size, MAP_NOCACHE
);
len = strlen(list);
if (strcmp(list, "control_port") == 0)
priv->mac_dev = base;