~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: cda3b46f0241b4c049bb2334a3567691829ffcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2012
 * Texas Instruments, <www.ti.com>
 */
#ifndef	_ASM_ARCH_SPL_H_
#define	_ASM_ARCH_SPL_H_

#define BOOT_DEVICE_NONE	0x00
#define BOOT_DEVICE_XIP		0x01
#define BOOT_DEVICE_XIPWAIT	0x02
#define BOOT_DEVICE_NAND	0x03
#define BOOT_DEVICE_ONENAND	0x04
#define BOOT_DEVICE_MMC1	0x05
#define BOOT_DEVICE_MMC2	0x06
#define BOOT_DEVICE_MMC2_2	0x07
#define BOOT_DEVICE_SATA	0x09
#define BOOT_DEVICE_SPI		0x0A
#define BOOT_DEVICE_QSPI_1	0x0A
#define BOOT_DEVICE_QSPI_4	0x0B
#define BOOT_DEVICE_UART	0x43
#define BOOT_DEVICE_DFU		0x45

#define MMC_BOOT_DEVICES_START	BOOT_DEVICE_MMC1
#define MMC_BOOT_DEVICES_END	BOOT_DEVICE_MMC2_2
#endif