Skip to content

clean up omap3 configuration structs

Matthias Ludwig u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- split cs-config into 2 patches (patch 1/2)
- remove (accidentally missed) typedefs (patch 3)
- based on arm/next (zoom2 ok now)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5OMAP3EVM: net_chip uses CS5 not CS6board/omap3/evm/evm.c include/asm-arm/arch-omap3/cpu.h+11 -104 replies
2/5omap3: embedd gpmc_cs into gpmc config structboard/omap3/evm/evm.c board/omap3/zoom2/zoom2.c cpu/arm_cortexa8/omap3/mem.c +9 more+53 -831 reply
3/5omap3: remove typedefs for configuration structsboard/omap3/beagle/beagle.c board/omap3/evm/evm.c board/omap3/pandora/pandora.c +16 more+78 -787 replies
4/5omap3: replace all instances of gpmc config struct by one globalboard/omap3/evm/evm.c board/omap3/zoom2/zoom2.c cpu/arm_cortexa8/omap3/mem.c +2 more+35 -400 replies
5/5omap3: use only fixed-size types inside ctrl_structsinclude/asm-arm/arch-omap3/cpu.h+218 -1940 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDirk Behme
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [U-Boot] [PATCHv3 0/5] clean up omap3 configuration structs

Here are some (hopefully final) changes to the omap3 cleanup.

changes since v2:
- split cs-config into 2 patches (patch 1/2)
- remove (accidentally missed) typedefs (patch 3)
- based on arm/next (zoom2 ok now)

not changed (see discussion on v2):
- using a function for gpmc config
- replacing config[1-7] by an array

compile-tested on beagle, evm, overo, pandora, zoom[12]

best regards,
Matthias

Matthias Ludwig (5):
OMAP3EVM: net_chip uses CS5 not CS6
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 +-
 board/omap3/zoom2/zoom2.c          |   13 +-
 cpu/arm_cortexa8/omap3/board.c     |   16 +-
 cpu/arm_cortexa8/omap3/clock.c     |   14 +-
 cpu/arm_cortexa8/omap3/mem.c       |   56 ++---
 cpu/arm_cortexa8/omap3/sys_info.c  |   13 +-
 cpu/arm_cortexa8/omap3/timer.c     |    2 +-
 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 +-
 include/configs/omap3_zoom2.h      |    3 +-
 19 files changed, 342 insertions(+), 352 deletions(-)