[U-Boot] [v3 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support
Andreas Bießmann
andreas.devel at googlemail.com
Thu Nov 6 01:17:38 CET 2014
On 31.10.14 08:31, Heiko Schocher wrote:
> add support for using spl code on at91sam9260 and at91sam9g45
> based boards.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Reviewed-by: Bo Shen <voice.shen at atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>
> ---
>
> Changes in v3:
> add comment from Bo shen
> - fix AT91_PMC_MCKR_CSS_MASK and AT91_PMC_MCKR_PRES_MASK
> - make matrix_init weak, and add it in the taurus board code
> - do not introduce ifdef mess for the differences between the SoCs,
> instead use a seperate file for each SoC:
> - for armv5 (arm926ejs, now at91 series), named it spl_at91.c,
> - for armv7 (cortex-a5, now, sama5d3), named it spl_atmel.c
> - move common code to arch/arm/cpu/at91-common/spl.c
>
> Changes in v2: None
>
> 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 | 5 +-
> arch/arm/cpu/at91-common/sdram.c | 77 +++++++++++++
> arch/arm/cpu/at91-common/spl.c | 89 +--------------
> arch/arm/cpu/at91-common/spl_at91.c | 124 +++++++++++++++++++++
> arch/arm/cpu/at91-common/spl_atmel.c | 76 +++++++++++++
> arch/arm/include/asm/arch-at91/at91_common.h | 6 +
> arch/arm/include/asm/arch-at91/at91_pmc.h | 1 +
> 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 +++-
> 13 files changed, 424 insertions(+), 91 deletions(-)
> create mode 100644 arch/arm/cpu/at91-common/sdram.c
> create mode 100644 arch/arm/cpu/at91-common/spl_at91.c
> create mode 100644 arch/arm/cpu/at91-common/spl_atmel.c
More information about the U-Boot
mailing list