From: Bo Shen Date: Fri, 1 Nov 2013 15:56:23 +0800 Subject: [U-Boot] [PATCH v2 0/7] arm: atmel: sama5d3: enable spl boot from SD card Message-ID: <1383292590-4308-1-git-send-email-voice.shen@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch series enable spl boot from SD card, it only can boot u-boot itself. Changes in v2: - Move spl related code to at91-common folder Bo Shen (7): arm: atmel: sama5d3: correct the ID for DBGU and PIT arm: atmel: sama5: correct the error define of DIV arm: atmel: the offset of MULA is 18 in sama5d3 arm: atmel: sama5d3: early enable PIO peripherals arm: atmel: add plla and mck initialize function arm: atmel: add ddr2 initialization function spl: mmc: FAT support boot u-boot arch/arm/cpu/armv7/Makefile | 2 +- arch/arm/cpu/armv7/at91/Makefile | 1 + arch/arm/cpu/armv7/at91/clock.c | 27 ++++++ arch/arm/cpu/armv7/at91/mpddrc.c | 123 +++++++++++++++++++++++++ arch/arm/cpu/armv7/at91/sama5d3_devices.c | 2 +- arch/arm/cpu/armv7/at91/timer.c | 2 +- arch/arm/cpu/at91-common/Makefile | 32 +++++++ arch/arm/cpu/at91-common/spl.c | 39 ++++++++ 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 | 17 ++++ board/atmel/sama5d3xek/sama5d3xek.c | 99 ++++++++++++++++++++ include/configs/sama5d3xek.h | 37 ++++++++ spl/Makefile | 4 + 16 files changed, 553 insertions(+), 5 deletions(-) create mode 100644 arch/arm/cpu/armv7/at91/mpddrc.c create mode 100644 arch/arm/cpu/at91-common/Makefile 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