diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-01-14 14:21:52 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-19 09:41:22 +0100 |
commit | d7e269cfbdd5fe0bbc0961bcf89845484bf28de7 (patch) | |
tree | 456ef6fb228016067ad3351edb7bd20edff675fb /arch/arm/cpu/armv7/zynq/cpu.c | |
parent | 96a5d4dc1ec1ce26b32a3fa294816a47b62ae68a (diff) | |
download | u-boot-imx-d7e269cfbdd5fe0bbc0961bcf89845484bf28de7.zip u-boot-imx-d7e269cfbdd5fe0bbc0961bcf89845484bf28de7.tar.gz u-boot-imx-d7e269cfbdd5fe0bbc0961bcf89845484bf28de7.tar.bz2 |
zynq: Add support for U-BOOT SPL
SPL is using ps7_init.c/h files which are generated
from design tools which have to be copied to
boards/xilinx/zynq folder before compilation.
BSS section is moved to SDRAM because fat support
requires more space than SRAM size.
Added:
- MMC and QSPI support
- Boot OS directly from SPL
- Enable SPL command
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/zynq/cpu.c')
-rw-r--r-- | arch/arm/cpu/armv7/zynq/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/zynq/cpu.c b/arch/arm/cpu/armv7/zynq/cpu.c index 5d505dd..7626b5c 100644 --- a/arch/arm/cpu/armv7/zynq/cpu.c +++ b/arch/arm/cpu/armv7/zynq/cpu.c @@ -17,7 +17,7 @@ void lowlevel_init(void) int arch_cpu_init(void) { zynq_slcr_unlock(); - +#ifndef CONFIG_SPL_BUILD /* Device config APB, unlock the PCAP */ writel(0x757BDF0D, &devcfg_base->unlock); writel(0xFFFFFFFF, &devcfg_base->rom_shadow); @@ -35,7 +35,7 @@ int arch_cpu_init(void) /* Urgent write, ports S2/S3 */ writel(0xC, &slcr_base->ddr_urgent); #endif - +#endif zynq_clk_early_init(); zynq_slcr_lock(); |