mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Paul Kocialkowski](/assets/img/avatar_default.png)
This cleans up the SPL boot devices for omap platforms and introduces support for missing boot devices. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
24 lines
570 B
C
24 lines
570 B
C
/*
|
|
* (C) Copyright 2012
|
|
* Texas Instruments, <www.ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _ASM_ARCH_SPL_H_
|
|
#define _ASM_ARCH_SPL_H_
|
|
|
|
#define BOOT_DEVICE_NONE 0x00
|
|
#define BOOT_DEVICE_XIP 0x01
|
|
#define BOOT_DEVICE_NAND 0x02
|
|
#define BOOT_DEVICE_ONENAND 0x03
|
|
#define BOOT_DEVICE_MMC2 0x05
|
|
#define BOOT_DEVICE_MMC1 0x06
|
|
#define BOOT_DEVICE_XIPWAIT 0x07
|
|
#define BOOT_DEVICE_MMC2_2 0x08
|
|
#define BOOT_DEVICE_UART 0x10
|
|
#define BOOT_DEVICE_USB 0x11
|
|
|
|
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2
|
|
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC1
|
|
#endif
|