[U-Boot] [PATCH 2/4] omap3: remove typedef for struct gpmc

Matthias Ludwig mludwig at ultratronik.de
Tue May 12 10:12:03 CEST 2009


Hi Dirk,

> I wonder if you have the resources and like to convert all register  
> structs used by OMAP3 code and remove the typedef?
>
> Else we would have a mixture of typedefs and struct usage (see e.g.  
> above in sys_info.c). I would like to have it consistent, either the one 
> or the other way ;) What do you think?

sounds reasonable, so already in the making.
Patchset in reply to this mail.

Again:
 - compile-tested on beagle, evm, over, pandora, zoom1
 - boot-tested on own board
 - based on v2009.06-rc1
 - applies on u-boot-arm/next but breaks zoom2

Please test on other platforms.

best regards,
Matthias

Matthias Ludwig (4):
  omap3: embedd gpmc_cs into gpmc config struct
  omap3: remove typedefs for configuration structs
  omap3: replace all instances of gpmc config struct by one global
  omap3: use only fixed-size types inside ctrl_structs

 board/omap3/beagle/beagle.c         |    6 +-
 board/omap3/evm/evm.c               |   19 +-
 board/omap3/pandora/pandora.c       |    8 +-
 cpu/arm_cortexa8/omap3/board.c      |   16 +-
 cpu/arm_cortexa8/omap3/clock.c      |   14 +-
 cpu/arm_cortexa8/omap3/interrupts.c |    2 +-
 cpu/arm_cortexa8/omap3/mem.c        |   56 ++---
 cpu/arm_cortexa8/omap3/sys_info.c   |   13 +-
 drivers/mtd/nand/omap_gpmc.c        |   41 ++--
 include/asm-arm/arch-omap3/cpu.h    |  476 ++++++++++++++++++-----------------
 include/asm-arm/arch-omap3/mem.h    |    4 +-
 include/asm-arm/arch-omap3/omap3.h  |    8 +-
 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 +-
 17 files changed, 337 insertions(+), 341 deletions(-)



More information about the U-Boot mailing list