kernel_optimize_test/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 ARM: drop <mach/timex.h> for !ARCH_MULTIPLATFORM, too 2013-12-20 17:17:16 +01:00
am33xx-restart.c
am33xx.h
am35xx-emac.c ARM: 7989/1: Delete asm/system.h 2014-02-25 11:33:37 +00:00
am35xx-emac.h
am35xx.h
board-3430sdp.c
board-am3517crane.c
board-am3517evm.c
board-cm-t35.c [media] ARM: omap2: cm-t35: Add regulators and clock for camera sensor 2014-02-24 13:10:14 -03:00
board-cm-t3517.c
board-devkit8000.c
board-flash.c mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes 2013-11-06 23:33:07 -08:00
board-flash.h
board-generic.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
board-ldp.c ARM: OMAP2+: Fix LCD panel backlight regression for LDP legacy booting 2013-12-27 09:33:27 -08:00
board-n8x0.c ARM: OMAP2+: dts: add n8x0 onenand 2013-11-25 15:38:09 -08:00
board-omap3beagle.c ARM: SoC fixes for 3.13 merge window 2013-11-16 12:45:55 -08:00
board-omap3logic.c
board-omap3pandora.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
board-omap3stalker.c
board-omap3touchbook.c
board-overo.c
board-rx51-peripherals.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
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 ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clkt_dpll.c ARM: AM43xx: fix dpll init in bypass mode 2014-04-11 12:29:09 -06:00
clkt_iclk.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock2xxx.c
clock2xxx.h
clock3xxx.c
clock3xxx.h CLK: TI: add omap3 clock init file 2014-01-17 12:35:48 -08:00
clock34xx.c
clock34xx.h
clock36xx.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock36xx.h
clock44xx.h
clock2430.c
clock3517.c
clock3517.h
clock_common_data.c
clock.c ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
clock.h ARM: OMAP2+: clock: add support for indexed memmaps 2014-01-17 12:36:57 -08:00
clockdomain.c
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c ARM: OMAP3: fix iva mmu programming issues 2014-03-12 09:48:26 -07:00
clockdomains7xx_data.c
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx_3xxx.h
cm2xxx.c
cm2xxx.h
cm3xxx.c
cm3xxx.h
cm33xx.c
cm33xx.h
cm44xx.c
cm44xx.h
cm_44xx_54xx.h
cm_common.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
cminst44xx.c ARM: OMAP2+: clockdomain: Reintroduce SW_SLEEP Support 2014-02-28 12:43:46 -07:00
cminst44xx.h
common-board-devices.c
common-board-devices.h ARM: OMAP2+: Add quirks support for n8x0 2013-11-25 15:31:17 -08:00
common.c
common.h ARM: OMAP2+: DT 'compatible' tweak for displays 2014-03-19 11:02:46 +02:00
control.c
control.h
cpuidle34xx.c
cpuidle44xx.c ARM: OMAP: Kill warning in CPUIDLE code with !CONFIG_SMP 2014-02-21 15:16:56 -08:00
ctrl_module_core_44xx.h
ctrl_module_pad_core_44xx.h
ctrl_module_pad_wkup_44xx.h
ctrl_module_wkup_44xx.h
devices.c ARM: OMAP2+: change the ISP device archdata MMU name for DT 2014-03-12 09:49:03 -07:00
devices.h
display.c Merge branch '3.15/dss-dt' into 3.15/fbdev 2014-03-20 08:13:50 +02:00
display.h ARM: OMAP2+: add omapdss_init_of() 2014-03-19 10:52:23 +02:00
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 ARM: OMAP2+: clock: use driver API instead of direct memory read/write 2014-01-17 12:37:00 -08:00
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 ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes 2014-03-02 10:15:52 -08:00
gpmc-nand.h
gpmc-onenand.c
gpmc-onenand.h
gpmc-smc91x.c
gpmc-smc91x.h
gpmc-smsc911x.c ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init() 2013-11-14 10:40:36 -08:00
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 ARM: OMAP2+: AM43x: determine features 2014-02-28 15:33:27 -08:00
id.h
io.c i.MX SoC changes for 3.15: 2014-03-09 12:03:18 -07:00
iomap.h
irq.c ARM: OMAP2+: INTC: Acknowledge stuck active interrupts 2014-03-13 13:34:48 -07:00
Kconfig ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
Makefile ARM: OMAP2+: AM43xx: implement support for machine restart 2014-02-28 12:43:45 -07:00
Makefile.boot
mcbsp.c
mmc.h
msdi.c ARM: OMAP2+: Remove legacy booting support for n8x0 2013-11-25 15:31:17 -08:00
mux34xx.c
mux34xx.h
mux.c
mux.h ARM: OMAP2+: remove OMAP_PACKAGE_ZAC and OMAP_PACKAGE_ZAF 2014-02-28 15:36:34 -08:00
omap2-restart.c
omap3-restart.c
omap4-common.c ARM: DRA: Enable Crossbar IP support for DRA7XX 2014-02-05 20:09:11 +05:30
omap4-keypad.h
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c Linux 3.13-rc5 2013-12-28 21:38:16 -08:00
omap_device.h ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected 2013-12-10 09:39:52 -08:00
omap_hwmod_2xxx_3xxx_interconnect_data.c
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: hwmod_data: fix missing OMAP_INTC_START in irq data 2013-12-25 21:41:27 -07:00
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 ARM: DRA7: hwmod data: correct the sysc data for spinlock 2014-02-19 11:34:47 -07:00
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 ARM: AM43x: hwmod data: register spinlock OCP interface 2014-02-28 12:43:46 -07:00
omap_hwmod_44xx_data.c ARM: OMAP4: hwmod data: correct the idlemodes for spinlock 2014-03-13 14:09:57 -07:00
omap_hwmod_54xx_data.c ARM: OMAP5: hwmod data: add mmu data for ipu & dsp 2014-03-12 09:49:47 -07:00
omap_hwmod_2420_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_2430_data.c ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: OMAP2+: Remove legacy hwmod entries for omap2 2013-11-25 15:31:18 -08:00
omap_hwmod_reset.c
omap_hwmod.c ARM: OMAP2+: hwmod: fix missing braces in _init() 2014-04-11 12:29:09 -06:00
omap_hwmod.h
omap_opp_data.h
omap_phy_internal.c
omap_twl.c
omap-headsmp.S
omap-hotplug.c
omap-iommu.c iommu/omap: Add devicetree support 2014-03-04 17:01:57 +01:00
omap-mpuss-lowpower.c ARM: OMAP4460: cpuidle: Extend PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD on cpuidle 2014-01-31 14:57:32 -08:00
omap-pm-noop.c
omap-pm.h PM / OPP: rename header to linux/pm_opp.h 2013-10-25 22:33:23 +02:00
omap-secure.c
omap-secure.h ARM: OMAP2+: Fix undefined reference to set_cntfreq 2013-11-18 15:33:16 -08:00
omap-smc.S
omap-smp.c ARM: OMAP4+: move errata initialization to omap4_pm_init_early 2014-01-31 14:57:37 -08:00
omap-wakeupgen.c ARM: OMAP4+: Correct Wakeup-gen code to use physical irq number 2014-02-05 20:08:34 +05:30
omap-wakeupgen.h
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c
opp2420_data.c
opp2430_data.c
opp.c ACPI and power management updates for 3.13-rc1 2013-11-14 13:41:48 +09:00
pdata-quirks.c fbdev changes for 3.15 (OMAP) 2014-04-07 10:47:51 -07:00
pm24xx.c
pm34xx.c ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register 2014-04-10 11:01:09 -07:00
pm44xx.c ARM: OMAP4+: move errata initialization to omap4_pm_init_early 2014-01-31 14:57:37 -08:00
pm-debug.c
pm.c ACPI and power management updates for 3.13-rc1 2013-11-14 13:41:48 +09:00
pm.h ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM 2014-03-13 13:41:50 -07:00
pmu.c
powerdomain-common.c
powerdomain.c ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm 2013-12-02 11:38:14 -08:00
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
prcm43xx.h
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prcm-common.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm2xxx.c
prm2xxx.h
prm3xxx.c
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h
prm44xx_54xx.h ARM: OMAP2+: More randconfig fixes for reconfigure_io_chain 2013-11-18 11:03:37 -08:00
prm44xx.c
prm44xx.h
prm54xx.h
prm_common.c ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT 2014-01-17 12:37:11 -08:00
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT 2014-01-17 12:37:11 -08:00
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
sdrc2xxx.c
sdrc.c
sdrc.h
serial.c
serial.h
sleep24xx.S
sleep34xx.S
sleep44xx.S
smartreflex-class3.c
soc.h ARM: OMAP2+: AM43x: Add ID for ES1.1 2014-02-28 15:33:26 -08:00
sr_device.c
sram34xx.S
sram242x.S
sram243x.S
sram.c
sram.h
ti81xx.h
timer.c ARM: OMAP2+: AM43x: Use gptimer as clocksource 2014-02-28 15:33:27 -08:00
twl-common.c
twl-common.h
usb-host.c
usb-musb.c
usb-tusb6010.c
usb.h
vc3xxx_data.c
vc44xx_data.c
vc.c
vc.h
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp3xxx_data.c
vp44xx_data.c
vp.c
vp.h
wd_timer.c
wd_timer.h