[U-Boot] [v2 PATCH 0/12] arm, at91, spl: add spl support for the taurus and corvus boards

Heiko Schocher
2014-10-30T08:14:54Z

This patchset add SPL support for the AT91SAM9G20 based taurus board,
and the AT91SAM9M10G45 based corvus board from siemens, and replaces
the at91bootstrap code.

The boot.bin which replaces the at91bootstrap image can created with
mkimage:

./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin

For other SoC this step is done in one step ... should we add this
also for AT91 based boards?

For example add a "u-boot.at91" target in the Makefile?

This patchset is based on the common updates for the taurus
and corvus board:

Patchwork [U-Boot] arm, at91: add generic board support for the taurus and corvus board
http://patchwork.ozlabs.org/patch/395398/
(now in mainline)

Patchwork [U-Boot] arm, at91: add spi dataflash support for the taurus board
http://patchwork.ozlabs.org/patch/395400/

Changes in v2:
- rebased against d58a9451e7339ed4cf2b2627e534611f427fb791
- spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common header
new in v2
- add comment from Jagan Teki:
- remove spi_init_f() from board file
- remove CONFIG_SYS_SPI_WRITE_TOUT from board config file
instead define a default in the spi driver -> new patch for v2
- add Reviewed-by: Andreas Bie?mann <andreas.devel@googlemail.com>
- add comment from Andreas Biessmann:
rename "MPDDRC_CR_EBISHARE" to "MPDDRC_CR_DQMS_SHARED"
- add comment from scott wood:
move nand_erase_one into "include/nand.h" and rename it
to spl_nand_erase_one

Heiko Schocher (12):
spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common header
arm, at91: add spi dataflash support for the taurus board
arm, at91, mpddrc: fix typo in ddr2_init()
arm, at91: compile mpddrc ram init code also for AT91SAM9M10G45
arm, at91: add missing ddr2 cr register MPDDRC_CR_EBISHARE define
spl, nand: add option to boot raw u-boot.bin image only
mtd: atmel_nand: add missign include
spl, nand, atmel_nand: add erase one block function
spl, mtd, nand, atmel_nand: invert device ready pin logic
arm, spl, at91: add at91sam9260 and at91sam9g45 spl support
arm, at91, spl: add spl support for the taurus board
arm, spl, at91: add spl support for the corvus board

README | 4 +
arch/arm/Kconfig | 2 +
arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 22 +++
arch/arm/cpu/arm926ejs/at91/clock.c | 60 +++++++
arch/arm/cpu/armv7/at91/clock.c | 27 +++
arch/arm/cpu/at91-common/Makefile | 7 +-
arch/arm/cpu/at91-common/mpddrc.c | 14 +-
arch/arm/cpu/at91-common/sdram.c | 77 +++++++++
arch/arm/cpu/at91-common/spl.c | 185 +++++++++++++++------
arch/arm/include/asm/arch-at91/at91_common.h | 4 +
arch/arm/include/asm/arch-at91/at91_pmc.h | 5 +-
arch/arm/include/asm/arch-at91/at91sam9260.h | 1 +
.../arm/include/asm/arch-at91/at91sam9260_matrix.h | 5 +
arch/arm/include/asm/arch-at91/at91sam9_sdramc.h | 22 ++-
arch/arm/include/asm/arch-at91/atmel_mpddrc.h | 1 +
board/siemens/corvus/board.c | 109 ++++++++++--
board/siemens/taurus/taurus.c | 91 ++++++++--
common/spl/spl.c | 15 +-
common/spl/spl_nand.c | 13 ++
configs/corvus_defconfig | 5 +-
configs/taurus_defconfig | 5 +-
drivers/mtd/nand/atmel_nand.c | 40 ++++-
drivers/spi/atmel_spi.h | 4 +
include/configs/afeb9260.h | 1 -
include/configs/at91sam9260ek.h | 1 -
include/configs/at91sam9261ek.h | 1 -
include/configs/at91sam9263ek.h | 1 -
include/configs/at91sam9rlek.h | 1 -
include/configs/corvus.h | 54 +++++-
include/configs/ethernut5.h | 1 -
include/configs/meesc.h | 1 -
include/configs/otc570.h | 1 -
include/configs/pm9261.h | 1 -
include/configs/pm9263.h | 1 -
include/configs/sbc35_a9g20.h | 1 -
include/configs/taurus.h | 64 ++++++-
include/configs/tny_a9260.h | 1 -
include/configs/usb_a9263.h | 1 -
include/nand.h | 1 +
include/spl.h | 1 +
40 files changed, 746 insertions(+), 105 deletions(-)
create mode 100644 arch/arm/cpu/at91-common/sdram.c

--
1.8.3.1