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/include/asm | |
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/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-zynq/spl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynq/spl.h b/arch/arm/include/asm/arch-zynq/spl.h new file mode 100644 index 0000000..5789d28 --- /dev/null +++ b/arch/arm/include/asm/arch-zynq/spl.h @@ -0,0 +1,18 @@ +/* + * (C) Copyright 2014 Xilinx, Inc. Michal Simek + * + * SPDX-License-Identifier: GPL-2.0+ + */ +#ifndef _ASM_ARCH_SPL_H_ +#define _ASM_ARCH_SPL_H_ + +extern void ps7_init(void); + +#define BOOT_DEVICE_NONE 0 +#define BOOT_DEVICE_RAM 1 +#define BOOT_DEVICE_SPI 2 +#define BOOT_DEVICE_MMC1 3 +#define BOOT_DEVICE_MMC2 4 +#define BOOT_DEVICE_MMC2_2 5 + +#endif |