mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
86949c2b7c
This patch adds SD boot support for LS1021AQDS board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. Signed-off-by: Alison Wang <alison.wang@freescale.com> Signed-off-by: Jason Jin <jason.jin@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
20 lines
436 B
C
20 lines
436 B
C
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_SPL_H__
|
|
#define __ASM_ARCH_SPL_H__
|
|
|
|
#define BOOT_DEVICE_NONE 0
|
|
#define BOOT_DEVICE_XIP 1
|
|
#define BOOT_DEVICE_XIPWAIT 2
|
|
#define BOOT_DEVICE_NAND 3
|
|
#define BOOT_DEVICE_ONENAND 4
|
|
#define BOOT_DEVICE_MMC1 5
|
|
#define BOOT_DEVICE_MMC2 6
|
|
#define BOOT_DEVICE_MMC2_2 7
|
|
#define BOOT_DEVICE_SPI 10
|
|
|
|
#endif /* __ASM_ARCH_SPL_H__ */
|