Skip to content

ARM: OMAP4+: Cleanup clocks, control and emif code

R Sricharan u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: OMAP4+: emif: Detect SDRAM from SDRAM config registerarch/arm/cpu/armv7/omap-common/clocks-common.c arch/arm/cpu/armv7/omap-common/emif-common.c arch/arm/cpu/armv7/omap5/clocks.c +2 more+28 -71 reply
2/7ARM: OMAP4+: Change the PRCM structure prototype common for all Socsarch/arm/cpu/armv7/omap-common/clocks-common.c arch/arm/cpu/armv7/omap-common/emif-common.c arch/arm/cpu/armv7/omap-common/hwinit-common.c +16 more+1312 -12051 reply
3/7ARM: OMAP4+: Cleanup the clocks layerarch/arm/cpu/armv7/omap-common/clocks-common.c arch/arm/cpu/armv7/omap4/clocks.c arch/arm/cpu/armv7/omap4/hw_data.c +7 more+869 -8951 reply
4/7ARM: OMAP4+: Clean up the pmic codearch/arm/cpu/armv7/omap-common/clocks-common.c arch/arm/cpu/armv7/omap4/Makefile arch/arm/cpu/armv7/omap4/clocks.c +10 more+199 -2601 reply
5/7ARM: OMAP4+: Cleanup emif specific filesarch/arm/cpu/armv7/omap-common/emif-common.c arch/arm/cpu/armv7/omap4/sdram_elpida.c arch/arm/cpu/armv7/omap5/sdram.c +1 more+108 -851 reply
6/7ARM: OMAP4+: Make control module register structure genericarch/arm/cpu/armv7/omap-common/hwinit-common.c arch/arm/cpu/armv7/omap4/hw_data.c arch/arm/cpu/armv7/omap4/hwinit.c +8 more+269 -2061 reply
7/7ARM: OMAP5: Clean up iosettings codearch/arm/cpu/armv7/omap5/hw_data.c arch/arm/cpu/armv7/omap5/hwinit.c arch/arm/include/asm/arch-omap5/omap.h +1 more+78 -441 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v2 thread

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

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
Signature · 1 line
1.7.9.5