uboot/arch/arm/include/asm
pekon gupta a0a37183bd ARM: omap: merge GPMC initialization code for all platform
GPMC controller on TI's OMAP SoC is general purpose controller to interface
with different types of external devices like;
 - parallel NOR flash
 - parallel NAND flash
 - OneNand flash
 - SDR RAM
 - Ethernet Devices like LAN9220

Though GPMC configurations may be different for each platform depending on
clock-frequency and external device interfacing with controller. But
initialization sequence remains common across all platfoms.

Thus this patch merges gpmc_init() scattered in different arch-xx/mem.c
files into single omap-common/mem-common.c

However, actual platforms specific register config values are still sourced
from corresponding platform specific headers like;
 AM33xx: arch/arm/include/asm/arch-am33xx/mem.h
 OMAP3:  arch/arm/include/asm/arch-omap3/mem.h
 OMAP4:  arch/arm/include/asm/arch-omap4/mem.h
 OMAP4:  arch/arm/include/asm/arch-omap5/mem.h

Also, CONFIG_xx passed by board-profile decide config for which set of macros
need to be used for initialization
 CONFIG_NAND:    initialize GPMC for NAND device
 CONFIG_NOR:     initialize GPMC for NOR device
 CONFIG_ONENAND: initialize GPMC for ONENAND device

Signed-off-by: Pekon Gupta <pekon@ti.com>
[trini: define GPMC_SIZE_256M for omap3]
Signed-off-by: Tom Rini <trini@ti.com>
2014-05-23 19:39:36 -04:00
..
arch-a320
arch-am33xx am33xx: add SSC enable macro 2014-05-13 19:42:59 -04:00
arch-arm720t
arch-armada100
arch-armv7
arch-at91 arm: atmel: sama5d3: add nand spl boot support 2014-03-09 19:19:13 +01:00
arch-bcm281xx arch: bcm281xx: Initial commit of bcm281xx architecture code 2014-02-22 19:30:24 +01:00
arch-bcm2835 ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value 2014-02-14 07:57:14 +01:00
arch-davinci arm, da850: staticize funtions 2014-04-17 17:24:40 -04:00
arch-ep93xx
arch-exynos S5P: Exynos: Add GPIO pin numbering and rename definitions 2014-05-13 15:20:38 +09:00
arch-imx mx6: Distinguish mx6dual from mx6quad 2014-02-11 11:24:12 +01:00
arch-keystone keystone2: net: add keystone ethernet driver 2014-04-17 17:24:39 -04:00
arch-kirkwood kirkwood: kwbimage: refactor CONFIG_SYS_KWD_CONFIG 2014-03-12 17:04:52 -04:00
arch-ks8695
arch-lpc32xx
arch-mb86r0x sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
arch-mx5 Merge branch 'master' of git://git.denx.de/u-boot-spi 2014-02-21 08:00:22 -05:00
arch-mx6 mx6slevk: Add SPI NOR flash support 2014-04-28 14:00:16 +02:00
arch-mx25 imx25: Add new hardware registers 2014-05-09 15:10:53 +02:00
arch-mx27
arch-mx31
arch-mx35 spl: Fix guardian macros in spl.h 2014-03-28 15:06:30 -04:00
arch-mxs
arch-nomadik
arch-omap3 ARM: omap: merge GPMC initialization code for all platform 2014-05-23 19:39:36 -04:00
arch-omap4 ARM: omap4: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
arch-omap5 ARM: omap5: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
arch-orion5x
arch-pantheon
arch-pxa
arch-rmobile Merge remote-tracking branch 'u-boot-sh/rmobile' 2014-05-16 20:43:04 +02:00
arch-s3c24x0
arch-s5pc1xx S5P: Exynos: Add GPIO pin numbering and rename definitions 2014-05-13 15:20:38 +09:00
arch-sa1100
arch-socfpga socfpga: Adding Clock Manager driver 2014-04-07 10:41:50 +02:00
arch-spear spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs 2014-02-20 06:49:02 +01:00
arch-tegra ARM: tegra: add function to enable input clamping on tristate 2014-05-13 10:41:31 -07:00
arch-tegra20 ARM: tegra: allow pinmux mux option not to be set by init tables 2014-05-13 10:41:31 -07:00
arch-tegra30 ARM: tegra: allow pinmux mux option not to be set by init tables 2014-05-13 10:41:31 -07:00
arch-tegra114 ARM: tegra: allow pinmux mux option not to be set by init tables 2014-05-13 10:41:31 -07:00
arch-tegra124 ARM: tegra: allow pinmux mux option not to be set by init tables 2014-05-13 10:41:31 -07:00
arch-tnetv107x sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
arch-u8500
arch-vf610 arm: vf610: add enet1 support 2014-04-07 20:15:44 +02:00
arch-zynq mmc: zynq: Add OF initialization support 2014-03-04 09:27:35 -05:00
armv8 arm64: core support 2014-01-09 16:08:44 +01:00
imx-common iomux-v3: Add support for mx6sl LVE bit 2014-05-09 15:10:53 +02:00
kona-common arch: kona: Initial commit of kona-common architecture code 2014-02-22 19:30:18 +01:00
proc-armv arm64: core support 2014-01-09 16:08:44 +01:00
armv7.h
assembler.h
atomic.h
bitops.h
bootm.h
byteorder.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
cache.h arm64: core support 2014-01-09 16:08:44 +01:00
config.h common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
davinci_rtc.h
dma-mapping.h
ehci-omap.h
emif.h ARM: AM43xx: GP_EVM: Add support for DDR3 2013-12-18 21:14:45 -05:00
errno.h
gic.h arm64 patch: gicv3 support 2014-04-08 00:15:12 +02:00
global_data.h ARM: IXP: Remove the IXP architecture support 2014-02-06 02:51:52 +01:00
gpio.h
hardware.h
io.h arm64: core support 2014-01-09 16:08:44 +01:00
linkage.h
mach-types.h
macro.h arm64: core support 2014-01-09 16:08:44 +01:00
memory.h
omap_boot.h
omap_common.h OMAP: common: consolidate fake USB ethernet MAC address creation 2014-04-17 14:39:54 -04:00
omap_gpio.h
omap_mmc.h
omap_musb.h
pl310.h mx6: Enable L2 cache support 2014-02-11 11:24:12 +01:00
posix_types.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
processor.h
ptrace.h
sections.h
setup.h
spl.h
string.h
system.h armv8/cache: Change cache invalidate and flush function 2014-04-07 17:43:41 +02:00
types.h arm64: core support 2014-01-09 16:08:44 +01:00
u-boot-arm.h
u-boot.h bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
unaligned.h arm64: core support 2014-01-09 16:08:44 +01:00
utils.h