[U-Boot] [PATCH v3 0/6] arm: atmel: sama5d3: enable spl boot from SD card

Bo Shen
2013-11-06T05:29:11Z

This patch series enable spl boot from SD card, it only can boot
u-boot itself.

Changes in v3:
- Correct the clock enable code, the ID can not OR
- Move to at91 common folder
- Move plla and mck configure to spl.c file

Changes in v2:
- Move spl related code to at91-common folder

Bo Shen (6):
arm: atmel: sama5d3: correct the ID for DBGU and PIT
arm: atmel: sama5d3: correct the error define of DIV
arm: atmel: sama5d3: the offset of MULA is 18
arm: atmel: sama5d3: early enable PIO peripherals
arm: atmel: add ddr2 initialization function
arm: atmel: sama5d3: spl boot from fat fs SD card

arch/arm/cpu/armv7/Makefile | 2 +-
arch/arm/cpu/armv7/at91/sama5d3_devices.c | 2 +-
arch/arm/cpu/armv7/at91/timer.c | 2 +-
arch/arm/cpu/at91-common/Makefile | 33 +++++++
arch/arm/cpu/at91-common/mpddrc.c | 123 +++++++++++++++++++++++++
arch/arm/cpu/at91-common/spl.c | 90 ++++++++++++++++++
arch/arm/cpu/at91-common/u-boot-spl.lds | 50 ++++++++++
arch/arm/include/asm/arch-at91/at91_common.h | 4 +
arch/arm/include/asm/arch-at91/at91_pmc.h | 8 +-
arch/arm/include/asm/arch-at91/atmel_mpddrc.h | 111 ++++++++++++++++++++++
arch/arm/include/asm/arch-at91/spl.h | 20 ++++
board/atmel/sama5d3xek/sama5d3xek.c | 88 ++++++++++++++++++
include/configs/sama5d3xek.h | 34 +++++++
spl/Makefile | 4 +
14 files changed, 566 insertions(+), 5 deletions(-)
create mode 100644 arch/arm/cpu/at91-common/Makefile
create mode 100644 arch/arm/cpu/at91-common/mpddrc.c
create mode 100644 arch/arm/cpu/at91-common/spl.c
create mode 100644 arch/arm/cpu/at91-common/u-boot-spl.lds
create mode 100644 arch/arm/include/asm/arch-at91/atmel_mpddrc.h
create mode 100644 arch/arm/include/asm/arch-at91/spl.h

--
1.7.9.5