blob: d24944af0ae81e8a0e073c32511f2e3370943fc5 [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_UART 0x43
18#define BOOT_DEVICE_USB 0x45
Tom Rini29d69dc2012-08-14 08:50:58 -070019
Tom Rini46526842013-04-05 06:21:44 +000020#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
Paul Kocialkowski851c4e72015-07-15 16:02:20 +020021#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
Tom Rini29d69dc2012-08-14 08:50:58 -070022#endif