blob: cda3b46f0241b4c049bb2334a3567691829ffcd5 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Tom Rini29d69dc2012-08-14 08:50:58 -07002/*
3 * (C) Copyright 2012
4 * Texas Instruments, <www.ti.com>
Tom Rini29d69dc2012-08-14 08:50:58 -07005 */
6#ifndef _ASM_ARCH_SPL_H_
Marek Vasut4ad4cef2014-03-19 02:02:55 +01007#define _ASM_ARCH_SPL_H_
Tom Rini29d69dc2012-08-14 08:50:58 -07008
Paul Kocialkowski851c4e72015-07-15 16:02:20 +02009#define BOOT_DEVICE_NONE 0x00
10#define BOOT_DEVICE_XIP 0x01
11#define BOOT_DEVICE_XIPWAIT 0x02
12#define BOOT_DEVICE_NAND 0x03
13#define BOOT_DEVICE_ONENAND 0x04
14#define BOOT_DEVICE_MMC1 0x05
15#define BOOT_DEVICE_MMC2 0x06
16#define BOOT_DEVICE_MMC2_2 0x07
17#define BOOT_DEVICE_SATA 0x09
18#define BOOT_DEVICE_SPI 0x0A
19#define BOOT_DEVICE_QSPI_1 0x0A
20#define BOOT_DEVICE_QSPI_4 0x0B
Minal Shah01ae8ca2013-10-04 14:52:02 -040021#define BOOT_DEVICE_UART 0x43
B, Ravi2fb19df2016-07-28 17:39:17 +053022#define BOOT_DEVICE_DFU 0x45
Tom Rini29d69dc2012-08-14 08:50:58 -070023
Tom Rini46526842013-04-05 06:21:44 +000024#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
25#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
Tom Rini29d69dc2012-08-14 08:50:58 -070026#endif