projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: rk3288: sdram: style fixes from rk3188 sdram review
[oweals/u-boot.git]
/
drivers
/
spi
/
altera_spi.c
diff --git
a/drivers/spi/altera_spi.c
b/drivers/spi/altera_spi.c
index 3e09592ac6f0bd92ae30583c6eb968db60b19189..eb1ba27accfc25ef4f7678917c2b7071654dd722 100644
(file)
--- a/
drivers/spi/altera_spi.c
+++ b/
drivers/spi/altera_spi.c
@@
-174,8
+174,9
@@
static int altera_spi_ofdata_to_platdata(struct udevice *bus)
{
struct altera_spi_platdata *plat = dev_get_platdata(bus);
- plat->regs = ioremap(dev_get_addr(bus),
- sizeof(struct altera_spi_regs));
+ plat->regs = map_physmem(dev_get_addr(bus),
+ sizeof(struct altera_spi_regs),
+ MAP_NOCACHE);
return 0;
}