summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-14 11:21:16 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-18 21:18:30 +0800
commite2b259f70e6fef9dbd0c421045afaae5d455b2c4 (patch)
tree64a9ae7ccb8b097ccbf8498830c939ceb276c3d1 /drivers
parent9cbb923bac590096ae50e25b30a83cb36f27d229 (diff)
altera_tse: change ioremap to map_physmem
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/altera_tse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index 5692fe9d4a..3eaa270677 100644
--- 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;