u-boot-brain/arch/arm/cpu/armv7/am33xx
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
..
board.c am335x: Switch to CONFIG_SKIP_LOWLEVEL_INIT from guarding SPL or NOR_BOOT 2014-04-17 17:24:40 -04:00
clock_am33xx.c ARM: AM43xx: clocks: Update DPLL details 2013-12-18 21:14:01 -05:00
clock_am43xx.c ARM: AM43xx: clocks: Enable CPGMAC clock control 2014-03-04 09:42:06 -05:00
clock_ti814x.c ti814x: Fix illegal use of FP ops in clock_ti814x.c 2014-02-21 14:03:44 -05:00
clock_ti816x.c Add TI816X support 2013-08-15 18:38:37 -04:00
clock.c ARM: AM43xx: clocks: Update DPLL details 2013-12-18 21:14:01 -05:00
config.mk kbuild: use shorten logs for mkimage rules 2014-02-25 11:01:29 -05:00
ddr.c ARM: AM43xx: Write sdram_config to secure_emif_sdram_config 2014-03-04 09:42:07 -05:00
emif4.c am335x: Switch to CONFIG_SKIP_LOWLEVEL_INIT from guarding SPL or NOR_BOOT 2014-04-17 17:24:40 -04:00
Makefile ARM: omap: merge GPMC initialization code for all platform 2014-05-23 19:39:36 -04:00
mux.c am33xx: move generic parts of pinmux handling out from board/ti/am335x 2012-10-25 11:31:37 -07:00
sys_info.c am335x_evm: am33xx_spl_board_init function and scale core frequency 2013-09-20 16:57:35 -04:00
u-boot-spl.lds arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00