[U-Boot] [PATCH v2 0/6] Added SPL for MX35 boards

Stefano Babic sbabic at denx.de
Thu Oct 11 09:11:40 CEST 2012


In this patchset, a new i.MX35 board is added implementing
the internal boot mode and using the general SPL Framework.
To fix that relocation should not happen in SPL, the following patch
is also required:

	http://patchwork.ozlabs.org/patch/181166/

Because the woodburn can boot from different media, two targets
are added into boards.cfg:

- woodburn : board boots in external mode from NOR flash
- woodburn_sd: board boots in internal mode from SD

This is the first i.MX board using the SPL framework.

Changes in v2:
- fix MX35 boot mode (Eric Benard)
- uses SPL as binary instead of MLO (Thomas Petazzoni, Tom Rini)
- NAND: the harware manufacturer decided for a different chip.  Patches / issues related to NAND are dropped.
- use board_init_f in SPL for setting SDRAM controller

Stefano Babic (6):
  ARM: Fix start.S when used with SPL in arm1136
  MX35: add LOW_LEVEL_SRAM_STACK to use SPL_FRAMEWORK
  MX35: Add soc_boot_mode and soc_boot_device to MX35
  SPL: Added SPL target for mx35 SOC to SPL Makefile
  ARM: Add SPL target to arm1136
  MX35: add support for woodburn board

 MAINTAINERS                                   |    1 +
 Makefile                                      |    1 +
 arch/arm/cpu/arm1136/config.mk                |    3 +
 arch/arm/cpu/arm1136/mx35/Makefile            |    1 +
 arch/arm/cpu/arm1136/mx35/generic.c           |   75 ++++++
 arch/arm/cpu/arm1136/mx35/mx35_sdram.c        |  137 +++++++++++
 arch/arm/cpu/arm1136/start.S                  |   31 ++-
 arch/arm/cpu/arm1136/u-boot-spl.lds           |   62 +++++
 arch/arm/include/asm/arch-mx35/imx-regs.h     |    2 +
 arch/arm/include/asm/arch-mx35/mmc_host_def.h |   31 +++
 arch/arm/include/asm/arch-mx35/spl.h          |   38 +++
 arch/arm/include/asm/arch-mx35/sys_proto.h    |    2 +
 board/woodburn/Makefile                       |   43 ++++
 board/woodburn/imximage.cfg                   |    4 +
 board/woodburn/lowlevel_init.S                |   38 +++
 board/woodburn/woodburn.c                     |  261 +++++++++++++++++++++
 boards.cfg                                    |    2 +
 include/configs/woodburn.h                    |   34 +++
 include/configs/woodburn_common.h             |  313 +++++++++++++++++++++++++
 include/configs/woodburn_sd.h                 |   60 +++++
 spl/Makefile                                  |    6 +
 21 files changed, 1134 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/cpu/arm1136/mx35/mx35_sdram.c
 create mode 100644 arch/arm/cpu/arm1136/u-boot-spl.lds
 create mode 100644 arch/arm/include/asm/arch-mx35/mmc_host_def.h
 create mode 100644 arch/arm/include/asm/arch-mx35/spl.h
 create mode 100644 board/woodburn/Makefile
 create mode 100644 board/woodburn/imximage.cfg
 create mode 100644 board/woodburn/lowlevel_init.S
 create mode 100644 board/woodburn/woodburn.c
 create mode 100644 include/configs/woodburn.h
 create mode 100644 include/configs/woodburn_common.h
 create mode 100644 include/configs/woodburn_sd.h

-- 
1.7.9.5



More information about the U-Boot mailing list