WSL2-Linux-Kernel/arch/arm/mach-omap2
Tony Lindgren fb677ef70b 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>
2014-04-23 11:09:22 -07:00
..
include/mach
Kconfig ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
Makefile
Makefile.boot
am33xx-restart.c
am33xx.h
am35xx-emac.c
am35xx-emac.h
am35xx.h
board-3430sdp.c
board-am3517crane.c
board-am3517evm.c
board-cm-t35.c
board-cm-t3517.c
board-devkit8000.c
board-flash.c
board-flash.h
board-generic.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
board-ldp.c
board-n8x0.c
board-omap3beagle.c
board-omap3logic.c
board-omap3pandora.c
board-omap3stalker.c
board-omap3touchbook.c
board-overo.c
board-rx51-peripherals.c
board-rx51-video.c ARM: OMAP2+: N900: remove omapdss init for DT boot 2014-04-18 16:37:43 -07:00
board-rx51.c
board-rx51.h
board-ti8168evm.c
cclock3xxx_data.c == Changes to existing drivers == 2014-04-07 10:24:18 -07:00
cclock2420_data.c
cclock2430_data.c
clkt2xxx_apll.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_osc.c
clkt2xxx_sys.c
clkt2xxx_virt_prcm_set.c
clkt34xx_dpll3m2.c
clkt_clksel.c
clkt_dpll.c ARM: AM43xx: fix dpll init in bypass mode 2014-04-11 12:29:09 -06:00
clkt_iclk.c
clock.c
clock.h
clock2xxx.c
clock2xxx.h
clock3xxx.c
clock3xxx.h
clock34xx.c
clock34xx.h
clock36xx.c
clock36xx.h
clock44xx.h
clock2430.c
clock3517.c
clock3517.h
clock_common_data.c
clockdomain.c
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains7xx_data.c
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx.c
cm2xxx.h
cm2xxx_3xxx.h
cm3xxx.c
cm3xxx.h
cm33xx.c
cm33xx.h
cm44xx.c
cm44xx.h
cm_44xx_54xx.h
cm_common.c
cminst44xx.c
cminst44xx.h
common-board-devices.c
common-board-devices.h
common.c
common.h
control.c
control.h
cpuidle34xx.c
cpuidle44xx.c
ctrl_module_core_44xx.h
ctrl_module_pad_core_44xx.h
ctrl_module_pad_wkup_44xx.h
ctrl_module_wkup_44xx.h
devices.c
devices.h
display.c
display.h
dma.c dmaengine: omap-dma: move register read/writes into omap-dma.c 2014-04-04 00:31:49 +01:00
dpll3xxx.c ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
dpll44xx.c
drm.c
dsp.c
dss-common.c ARM: OMAP2+: remove pdata quirks for displays 2014-04-04 09:55:18 +03:00
dss-common.h
emu.c
fb.c
gpio.c
gpmc-nand.c
gpmc-nand.h
gpmc-onenand.c
gpmc-onenand.h
gpmc-smc91x.c
gpmc-smc91x.h
gpmc-smsc911x.c
gpmc-smsc911x.h
gpmc.c ARM: OMAP2+: Fix GPMC remap for devices using an offset 2014-04-23 11:09:22 -07:00
gpmc.h
hdq1w.c
hdq1w.h
hsmmc.c
hsmmc.h
hwspinlock.c
i2c.c
i2c.h
id.c
id.h
io.c
iomap.h
irq.c
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c
mmc.h
msdi.c
mux.c
mux.h
mux34xx.c
mux34xx.h
omap-headsmp.S
omap-hotplug.c
omap-iommu.c
omap-mpuss-lowpower.c
omap-pm-noop.c
omap-pm.h
omap-secure.c
omap-secure.h
omap-smc.S
omap-smp.c
omap-wakeupgen.c
omap-wakeupgen.h
omap2-restart.c
omap3-restart.c
omap4-common.c
omap4-keypad.h
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c
omap_device.h
omap_hwmod.c ARM: OMAP2+: hwmod: fix missing braces in _init() 2014-04-11 12:29:09 -06:00
omap_hwmod.h
omap_hwmod_2xxx_3xxx_interconnect_data.c
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c
omap_hwmod_2xxx_ipblock_data.c
omap_hwmod_3xxx_data.c ARM: OMAP3: hwmod data: Correct clock domains for USB modules 2014-04-11 11:51:22 -06:00
omap_hwmod_7xx_data.c
omap_hwmod_33xx_43xx_common_data.h
omap_hwmod_33xx_43xx_interconnect_data.c
omap_hwmod_33xx_43xx_ipblock_data.c
omap_hwmod_33xx_data.c
omap_hwmod_43xx_data.c
omap_hwmod_44xx_data.c
omap_hwmod_54xx_data.c
omap_hwmod_2420_data.c
omap_hwmod_2430_data.c
omap_hwmod_common_data.c
omap_hwmod_common_data.h
omap_hwmod_reset.c
omap_opp_data.h
omap_phy_internal.c
omap_twl.c
opp.c
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
pdata-quirks.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
pm-debug.c
pm.c
pm.h
pm24xx.c
pm34xx.c ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register 2014-04-10 11:01:09 -07:00
pm44xx.c
pmu.c
powerdomain-common.c
powerdomain.c
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm-common.h
prcm43xx.h
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm3xxx.c
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h
prm44xx.c
prm44xx.h
prm44xx_54xx.h
prm54xx.h
prm_common.c
prminst44xx.c ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c
sdram-nokia.h
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.c
serial.h
sleep24xx.S
sleep34xx.S
sleep44xx.S
smartreflex-class3.c
soc.h
sr_device.c
sram.c
sram.h
sram34xx.S
sram242x.S
sram243x.S
ti81xx.h
timer.c
twl-common.c
twl-common.h
usb-host.c
usb-musb.c
usb-tusb6010.c
usb.h
vc.c
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c
wd_timer.h