u-boot-brain/arch/arm/cpu/armv7/omap-common
pekon gupta 77cd89e755 ARM: omap: fix GPMC address-map size for NAND and NOR devices
Fixes commit a0a37183bd
    ARM: omap: merge GPMC initialization code for all platform

1) NAND device are not directly memory-mapped to CPU address-space, they are
 indirectly accessed via following GPMC registers:
 - GPMC_NAND_COMMAND_x
 - GPMC_NAND_ADDRESS_x
 - GPMC_NAND_DATA_x
 Therefore from CPU's point of view, NAND address-map can be limited to just
 above register addresses. But GPMC chip-select address-map can be configured
 in granularity of 16MB only.
 So this patch uses GPMC_SIZE_16M for all NAND devices.

2) NOR device are directly memory-mapped to CPU address-space, so its
 address-map size depends on actual addressable region in NOR FLASH device.
 So this patch uses CONFIG_SYS_FLASH_SIZE to derive GPMC chip-select address-map
 size configuration.

Signed-off-by: Pekon Gupta <pekon@ti.com>
2014-07-25 16:26:12 -04:00
..
abb.c arm: omap: abb: add missing include 2013-12-12 14:54:22 -05:00
boot-common.c dra7xx_evm: Add QSPI_4 support, qspiboot build target 2014-04-17 17:24:37 -04:00
clocks-common.c ARM: OMAP4/5: Remove dead code against CONFIG_SYS_CLOCKS_ENABLE_ALL 2014-01-24 09:34:22 -05:00
emif-common.c ARM: DRA72x: Update EMIF data 2014-05-23 19:40:04 -04:00
hwinit-common.c ARM: OMAP: Fix handling of errata i727 2014-07-25 16:26:11 -04:00
lowlevel_init.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile am33xx/omap: Allow cache enable for all Sitara/OMAP 2014-06-11 16:25:39 -04:00
mem-common.c ARM: omap: fix GPMC address-map size for NAND and NOR devices 2014-07-25 16:26:12 -04:00
omap-cache.c am33xx/omap: Allow cache enable for all Sitara/OMAP 2014-06-11 16:25:39 -04:00
pipe3-phy.c ARM: OMAP5: Add Pipe3 PHY driver 2013-12-04 08:12:08 -05:00
pipe3-phy.h ARM: OMAP5: Add Pipe3 PHY driver 2013-12-04 08:12:08 -05:00
reset.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sata.c ARM: O5/dra7xx: Add SATA boot support 2014-02-19 10:47:45 -05:00
timer.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot-spl.lds arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
utils.c OMAP: common: consolidate fake USB ethernet MAC address creation 2014-04-17 14:39:54 -04:00
vc.c ARM: OMAP4+: pmic: Make generic bus init and write functions 2013-06-10 08:43:09 -04:00