[PATCH] i.MX sdram controller driver support

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 27 15:48:45 EST 2012


This adds a driver which reads back the SDRAM controller
configured values and registers the memory found with barebox.
This makes board code a bit easier.

Sascha

----------------------------------------------------------------
Sascha Hauer (3):
      ARM i.MX: Add driver to get sdram base and size
      ARM i.MX: register esdctl controller device
      ARM i.MX boards: use esdctl code to detect sdram size

 arch/arm/boards/ccxmx51/ccxmx51.c                 |    9 -
 arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c |    8 -
 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c |   14 -
 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.c |    8 -
 arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.c |    8 -
 arch/arm/boards/freescale-mx25-3-stack/3stack.c   |   18 +-
 arch/arm/boards/freescale-mx35-3-stack/3stack.c   |    9 -
 arch/arm/boards/freescale-mx51-pdk/board.c        |    8 -
 arch/arm/boards/freescale-mx53-loco/board.c       |    9 -
 arch/arm/boards/freescale-mx53-smd/board.c        |    9 -
 arch/arm/boards/guf-cupid/board.c                 |    8 -
 arch/arm/boards/guf-neso/board.c                  |    8 -
 arch/arm/boards/imx27ads/imx27ads.c               |    8 -
 arch/arm/boards/karo-tx25/board.c                 |   14 +-
 arch/arm/boards/karo-tx51/tx51.c                  |    8 -
 arch/arm/boards/karo-tx53/board.c                 |   11 -
 arch/arm/boards/pcm037/pcm037.c                   |   11 -
 arch/arm/boards/pcm038/pcm038.c                   |   14 +-
 arch/arm/boards/pcm043/pcm043.c                   |    8 -
 arch/arm/boards/phycard-i.MX27/pca100.c           |    8 -
 arch/arm/boards/scb9328/scb9328.c                 |    8 -
 arch/arm/boards/tqma53/board.c                    |   11 -
 arch/arm/mach-imx/Makefile                        |    3 +-
 arch/arm/mach-imx/esdctl.c                        |  348 +++++++++++++++++++++
 arch/arm/mach-imx/imx1.c                          |    3 +
 arch/arm/mach-imx/imx25.c                         |    1 +
 arch/arm/mach-imx/imx27.c                         |    1 +
 arch/arm/mach-imx/imx31.c                         |    1 +
 arch/arm/mach-imx/imx35.c                         |    1 +
 arch/arm/mach-imx/imx51.c                         |    1 +
 arch/arm/mach-imx/imx53.c                         |    1 +
 arch/arm/mach-imx/include/mach/esdctl.h           |    1 +
 arch/arm/mach-imx/include/mach/imx1-regs.h        |    3 +
 33 files changed, 372 insertions(+), 209 deletions(-)
 create mode 100644 arch/arm/mach-imx/esdctl.c



More information about the barebox mailing list