From: Thomas Chou Date: Sat, 14 Nov 2015 03:21:16 +0000 (+0800) Subject: altera_tse: change ioremap to map_physmem X-Git-Tag: v2016.01-rc2~296 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e2b259f70e6fef9dbd0c421045afaae5d455b2c4;p=u-boot 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 Reviewed-by: Marek Vasut --- 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;