diff options
author | Tony Lindgren <tony@atomide.com> | 2014-04-22 06:26:13 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-04-23 22:09:22 +0400 |
commit | fb677ef70b65e22cd4401d31b700a8b4041efae1 (patch) | |
tree | fb444ab0ef4702908c40f2f68ef6b320d73adea4 /scripts/unifdef.c | |
parent | efe8072316a899294212055c147d3d9adca940a4 (diff) | |
download | linux-fb677ef70b65e22cd4401d31b700a8b4041efae1.tar.xz |
ARM: OMAP2+: Fix GPMC remap for devices using an offset
At least the smc91x driver expects the device to be at 0x300
offset from bus base address. This does not work currently
for GPMC when booted in device tree mode as it attempts to
remap the the allocated GPMC partition to the address
configured by the device tree plus the device offset.
Note that this works just fine when booted with legacy mode.
Let's fix the issue by just ignoring any device specific
offset while remapping. And let's make sure the remap
address confirms to the GPMC 16MB minimum granularity
as listed in the TRM for GPMC_CONFIG7 BASEADDRESS bits.
Otherwise we can get something like this:
omap-gpmc 6e000000.gpmc: cannot remap GPMC CS 1 to 0x01000300
Cc: Pekon Gupta <pekon@ti.com>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions