[U-Boot] [PATCH 0/4] omap3: clean up gpmc config strut

Matthias Ludwig mludwig at ultratronik.de
Mon May 11 12:09:37 CEST 2009


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(-)



More information about the U-Boot mailing list