mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 04:50:19 +01:00
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>
This commit is contained in:
parent
9cbb923bac
commit
e2b259f70e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue