From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 17 Nov 2014 13:16:33 +0100 Subject: [U-Boot] =?utf-8?q?=5BU-Boot=2C_v3=2C_10/12=5D_arm=2C_spl=2C_at91?= =?utf-8?q?=3A_add_at91sam9260_and_at91sam9g45_spl_support?= In-Reply-To: <1414740666-13337-11-git-send-email-hs@denx.de> from Heiko Schocher on Fri, 31 Oct 2014 08:31:04 +0100 References: <1414740666-13337-11-git-send-email-hs@denx.de> Message-ID: <1416226594-24656-1-git-send-email-andreas.devel@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 Dear Heiko Schocher, Heiko Schocher writes: >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 >[adopt Bo's change in spl.c] >Signed-off-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 applied with little changes to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann