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(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot