From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Ludwig Date: Mon, 11 May 2009 12:09:37 +0200 Subject: [U-Boot] [PATCH 0/4] omap3: clean up gpmc config strut Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de following patchset cleans up gpmc config for omap3. - chip select configuration is embedded into global gpmc configuration struct to make it available without handling offset-defines. - several instances of gpmc_t (which used always the same base address) are replaced by one global struct which is initialized in gpmc_init. - typedef for gpmc struct is replaced by c struct Compile tested on: omap3_evm, omap3_beagle, omap3_overo, omap3_pandora, omap3_zoom1 Boot tested on new platform (not in mainline), SDRAM, NAND and network (code taken from board/omap3/evm/evm.c) initialization works fine. My EVM broken seems to be broken, so can someone please boot test on at least on platforms? best regards, Matthias Matthias Ludwig (4): omap3: embedd gpmc_cs into gpmc config struct omap3: remove typedef for struct gpmc omap3: replace all instances of gpmc config struct by one global omap3: use only fixed-size types inside ctrl_structs board/omap3/evm/evm.c | 15 +- cpu/arm_cortexa8/omap3/mem.c | 48 ++--- cpu/arm_cortexa8/omap3/sys_info.c | 3 +- drivers/mtd/nand/omap_gpmc.c | 41 ++--- include/asm-arm/arch-omap3/cpu.h | 428 +++++++++++++++++++------------------ include/configs/omap3_beagle.h | 3 +- include/configs/omap3_evm.h | 3 +- include/configs/omap3_overo.h | 3 +- include/configs/omap3_pandora.h | 3 +- include/configs/omap3_zoom1.h | 3 +- 10 files changed, 273 insertions(+), 277 deletions(-)