[U-Boot] [PATCH V2 0/7] ARM: OMAP4+: Cleanup clocks, control and emif code

R Sricharan r.sricharan at ti.com
Mon Feb 4 15:21:58 CET 2013


This series is intended to cleanup code which is duplicated
across soc specific files. This is accomplished by moving soc
specifc data to one place and having the code common. This
helps in avoiding un necessary cpu checks and minimal
code addition for future socs.

Tested this on OMAP5 ES1.0, OMAP4460 Panda boards
and verified MAKEALL for all armv7 boards.

Lokesh Vutla (4):
  ARM: OMAP4+: emif: Detect SDRAM from SDRAM config register
  ARM: OMAP4+: Cleanup emif specific files
  ARM: OMAP4+: Make control module register structure generic
  ARM: OMAP5: Clean up iosettings code

R Sricharan (3):
  ARM: OMAP4+: Change the PRCM structure prototype common for all Socs
  ARM: OMAP4+: Cleanup the clocks layer
  ARM: OMAP4+: Clean up the pmic code

 arch/arm/cpu/armv7/omap-common/clocks-common.c |  283 ++++++++----
 arch/arm/cpu/armv7/omap-common/emif-common.c   |   71 ++-
 arch/arm/cpu/armv7/omap-common/hwinit-common.c |    8 +-
 arch/arm/cpu/armv7/omap-common/vc.c            |   11 +-
 arch/arm/cpu/armv7/omap4/Makefile              |    3 +-
 arch/arm/cpu/armv7/omap4/clocks.c              |  517 ----------------------
 arch/arm/cpu/armv7/omap4/hw_data.c             |  502 +++++++++++++++++++++
 arch/arm/cpu/armv7/omap4/hwinit.c              |   36 +-
 arch/arm/cpu/armv7/omap4/prcm-regs.c           |  315 +++++++++++++
 arch/arm/cpu/armv7/omap4/sdram_elpida.c        |   16 +-
 arch/arm/cpu/armv7/omap5/Makefile              |    3 +-
 arch/arm/cpu/armv7/omap5/clocks.c              |  494 ---------------------
 arch/arm/cpu/armv7/omap5/hw_data.c             |  494 +++++++++++++++++++++
 arch/arm/cpu/armv7/omap5/hwinit.c              |  131 +++---
 arch/arm/cpu/armv7/omap5/prcm-regs.c           |  380 ++++++++++++++++
 arch/arm/cpu/armv7/omap5/sdram.c               |  119 +++--
 arch/arm/include/asm/arch-omap4/clocks.h       |  562 ++----------------------
 arch/arm/include/asm/arch-omap4/omap.h         |   33 +-
 arch/arm/include/asm/arch-omap4/sys_proto.h    |    3 +-
 arch/arm/include/asm/arch-omap5/clocks.h       |  506 +--------------------
 arch/arm/include/asm/arch-omap5/omap.h         |   96 +---
 arch/arm/include/asm/arch-omap5/sys_proto.h    |    4 +-
 arch/arm/include/asm/emif.h                    |   18 +-
 arch/arm/include/asm/omap_common.h             |  482 ++++++++++++++++++++
 drivers/mmc/omap_hsmmc.c                       |   25 +-
 include/configs/omap5_evm.h                    |    1 +
 26 files changed, 2659 insertions(+), 2454 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/omap4/clocks.c
 create mode 100644 arch/arm/cpu/armv7/omap4/hw_data.c
 create mode 100644 arch/arm/cpu/armv7/omap4/prcm-regs.c
 delete mode 100644 arch/arm/cpu/armv7/omap5/clocks.c
 create mode 100644 arch/arm/cpu/armv7/omap5/hw_data.c
 create mode 100644 arch/arm/cpu/armv7/omap5/prcm-regs.c

-- 
1.7.9.5



More information about the U-Boot mailing list