mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
d7e269cfbd
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>
18 lines
347 B
C
18 lines
347 B
C
/*
|
|
* (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
|