From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Thu, 06 Nov 2014 01:17:38 +0100 Subject: [U-Boot] [v3 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support In-Reply-To: <1414740666-13337-11-git-send-email-hs@denx.de> References: <1414740666-13337-1-git-send-email-hs@denx.de> <1414740666-13337-11-git-send-email-hs@denx.de> Message-ID: <545ABE22.2060409@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Bo Shen Reviewed-by: Andreas Bie?mann > > --- > > 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