mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i.MX register cleanups
@ 2012-09-24 10:46 Sascha Hauer
  2012-09-24 10:46 ` [PATCH 01/14] ARM i.MX31: give register base addresses a proper MX31_ prefix Sascha Hauer
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Sascha Hauer @ 2012-09-24 10:46 UTC (permalink / raw)
  To: barebox

The following replaces the register base defines from IMX_ to SoC
specific variants. The new names/base address defines are from the
Kernel.

Sascha

----------------------------------------------------------------
Sascha Hauer (14):
      ARM i.MX31: give register base addresses a proper MX31_ prefix
      ARM i.MX35: give register base addresses a proper MX35_ prefix
      ARM i.MX21: give register base addresses a proper MX21_ prefix
      ARM i.MX1: give register base addresses a proper MX1_ prefix
      ARM i.MX27: give register base addresses a proper MX27_ prefix
      ARM i.MX25: give register base addresses a proper MX25_ prefix
      ARM i.MX/MXS: Allow to include imx*-regs.h directly
      ARM i.MX51: Use defines rather than hardcoded addresses
      ARM i.MX: Add header file for WEIM cs setup
      ARM i.MX1: Add function to setup chipselect
      ARM i.MX21: Add function to setup chipselect
      ARM i.MX31: Add function to setup chipselect
      ARM i.MX35: Add function to setup chipselect
      ARM i.MX25: Add function to setup chipselect

 arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c  |   32 +--
 arch/arm/boards/eukrea_cpuimx25/lowlevel.c         |   32 +--
 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c  |    5 +-
 arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S    |    4 +-
 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.c  |  100 ++++-----
 arch/arm/boards/eukrea_cpuimx35/lowlevel.c         |   24 +-
 arch/arm/boards/freescale-mx25-3-stack/3stack.c    |   20 +-
 .../boards/freescale-mx25-3-stack/lowlevel_init.S  |   26 +--
 arch/arm/boards/freescale-mx35-3-stack/3stack.c    |   88 ++++----
 .../boards/freescale-mx35-3-stack/lowlevel_init.S  |    6 +-
 arch/arm/boards/guf-cupid/board.c                  |   80 +++----
 arch/arm/boards/guf-cupid/lowlevel.c               |   28 +--
 arch/arm/boards/guf-neso/board.c                   |   12 +-
 arch/arm/boards/guf-neso/lowlevel.c                |    4 +-
 arch/arm/boards/imx21ads/imx21ads.c                |   33 ++-
 arch/arm/boards/imx21ads/lowlevel_init.S           |    4 +-
 arch/arm/boards/imx27ads/imx27ads.c                |    5 +-
 arch/arm/boards/karo-tx25/board.c                  |    6 +-
 arch/arm/boards/karo-tx25/lowlevel.c               |   14 +-
 arch/arm/boards/pcm037/lowlevel_init.S             |   42 ++--
 arch/arm/boards/pcm037/pcm037.c                    |   66 +++---
 arch/arm/boards/pcm038/lowlevel.c                  |    4 +-
 arch/arm/boards/pcm038/pcm038.c                    |    1 +
 arch/arm/boards/pcm038/pcm970.c                    |   17 +-
 arch/arm/boards/pcm043/lowlevel.c                  |   26 +--
 arch/arm/boards/pcm043/pcm043.c                    |   83 ++++---
 arch/arm/boards/phycard-i.MX27/lowlevel_init.S     |    4 +-
 arch/arm/boards/phycard-i.MX27/pca100.c            |   20 +-
 arch/arm/boards/scb9328/scb9328.c                  |   19 +-
 arch/arm/mach-imx/external-nand-boot.c             |    2 +-
 arch/arm/mach-imx/imx1.c                           |   19 +-
 arch/arm/mach-imx/imx21.c                          |   24 +-
 arch/arm/mach-imx/imx25.c                          |   29 ++-
 arch/arm/mach-imx/imx27.c                          |   27 ++-
 arch/arm/mach-imx/imx31.c                          |   20 +-
 arch/arm/mach-imx/imx35.c                          |   23 +-
 arch/arm/mach-imx/imx51.c                          |   10 +-
 arch/arm/mach-imx/include/mach/devices-imx1.h      |    4 +-
 arch/arm/mach-imx/include/mach/devices-imx21.h     |    8 +-
 arch/arm/mach-imx/include/mach/devices-imx25.h     |   55 ++++-
 arch/arm/mach-imx/include/mach/devices-imx27.h     |   28 +--
 arch/arm/mach-imx/include/mach/devices-imx31.h     |   34 ++-
 arch/arm/mach-imx/include/mach/devices-imx35.h     |   34 ++-
 arch/arm/mach-imx/include/mach/imx1-regs.h         |  131 +++++------
 arch/arm/mach-imx/include/mach/imx21-regs.h        |  173 +++++++++------
 arch/arm/mach-imx/include/mach/imx25-regs.h        |  132 ++++++-----
 arch/arm/mach-imx/include/mach/imx27-regs.h        |  229 ++++++++++++--------
 arch/arm/mach-imx/include/mach/imx31-regs.h        |  217 ++++++++++---------
 arch/arm/mach-imx/include/mach/imx35-regs.h        |  170 ++++++++++-----
 arch/arm/mach-imx/include/mach/weim.h              |   20 ++
 arch/arm/mach-imx/speed-imx25.c                    |   22 +-
 arch/arm/mach-imx/speed-imx31.c                    |    8 +-
 arch/arm/mach-imx/speed-imx35.c                    |   30 +--
 arch/arm/mach-mxs/include/mach/imx23-regs.h        |    7 -
 arch/arm/mach-mxs/include/mach/imx28-regs.h        |    7 -
 55 files changed, 1282 insertions(+), 986 deletions(-)
 create mode 100644 arch/arm/mach-imx/include/mach/weim.h

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-09-24 12:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 10:46 [PATCH] i.MX register cleanups Sascha Hauer
2012-09-24 10:46 ` [PATCH 01/14] ARM i.MX31: give register base addresses a proper MX31_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 02/14] ARM i.MX35: give register base addresses a proper MX35_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 03/14] ARM i.MX21: give register base addresses a proper MX21_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 04/14] ARM i.MX1: give register base addresses a proper MX1_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 05/14] ARM i.MX27: give register base addresses a proper MX27_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 06/14] ARM i.MX25: give register base addresses a proper MX25_ prefix Sascha Hauer
2012-09-24 10:46 ` [PATCH 07/14] ARM i.MX/MXS: Allow to include imx*-regs.h directly Sascha Hauer
2012-09-24 10:46 ` [PATCH 08/14] ARM i.MX51: Use defines rather than hardcoded addresses Sascha Hauer
2012-09-24 10:46 ` [PATCH 09/14] ARM i.MX: Add header file for WEIM cs setup Sascha Hauer
2012-09-24 10:46 ` [PATCH 10/14] ARM i.MX1: Add function to setup chipselect Sascha Hauer
2012-09-24 10:46 ` [PATCH 11/14] ARM i.MX21: " Sascha Hauer
2012-09-24 10:46 ` [PATCH 12/14] ARM i.MX31: " Sascha Hauer
2012-09-24 10:46 ` [PATCH 13/14] ARM i.MX35: " Sascha Hauer
2012-09-24 10:46 ` [PATCH 14/14] ARM i.MX25: " Sascha Hauer
2012-09-24 12:04   ` Roberto Nibali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox