u-boot/arch/arm
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
..
cpu ARM: omap: fix GPMC address-map size for NAND and NOR devices 2014-07-25 16:26:12 -04:00
dts Merge remote-tracking branch 'u-boot-samsung/master' 2014-07-01 20:52:51 +02:00
imx-common Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-06-30 23:00:34 +02:00
include/asm ARM: OMAP: Fix handling of errata i727 2014-07-25 16:26:11 -04:00
lib ARM: cache_v7: use __weak 2014-07-04 19:57:22 +02:00
config.mk build:arm: Remove setting of CROSS_COMPILE environment variable 2014-04-07 20:04:36 +02:00