Fix few omap gpmc regressions when booted with device tree
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ARM: OMAP2+: Fix oops for GPMC freearch/ | +5 | 0 replies | |
| 2/2 | ARM: OMAP2+: Fix GPMC remap for devices using an offsetarch/ | +8 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Javier Martinez Canillas |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Fix few omap gpmc regressions when booted with device tree
Hi all,
Here are two fixes to GPMC issues I've seen. It seems that we have few more issues left to solve:
1. The remap of a device with gpmc_cs_remap seems to fail for a device if it's address specified in the .dts file is different from the address used by the bootloader
2. There seems to be some timing issues with smc911x where rsync of larger files and apt-get dist-upgrade can produce strange errors. This seems to work reliably when booted in legacy mode.
3. The DT mappings of GPMC devices are wrong for most devices where the ranges property should contain the GPMC partition size (16, 32, 128 or 256 MB), and the reg property for the device should only contain the device IO range. So only NOR should use large values for ranges and IO range, the rest should use the minimum 16 MB range for GPMC partition, and 0x4 - 0x20000 for the IO range. And while patching these it makes sense to also unify the GPMC ranges being used for devices.
Pekon, can you take a look at 1 and 2 above?
Then for 3 above, it seems that we cannot safely change ranges before 1 and 2 are working reliably. Or else we have patch things twice, once to fix the range sizes, then to unify the mappings for the range address...
Regards,
Tony
Tony Lindgren (2):
ARM: OMAP2+: Fix oops for GPMC free
ARM: OMAP2+: Fix GPMC remap for devices using an offset
arch/arm/mach-omap2/gpmc.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.1