blob: bace92dae8f18432fe377e174f3ec962b5d43eb9 [file] [log] [blame]
Tom Rini29d69dc2012-08-14 08:50:58 -07001/*
2 * (C) Copyright 2012
3 * Texas Instruments, <www.ti.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Tom Rini29d69dc2012-08-14 08:50:58 -07006 */
7#ifndef _ASM_ARCH_SPL_H_
Marek Vasut4ad4cef2014-03-19 02:02:55 +01008#define _ASM_ARCH_SPL_H_
Tom Rini29d69dc2012-08-14 08:50:58 -07009
Paul Kocialkowski851c4e72015-07-15 16:02:20 +020010#define BOOT_DEVICE_NONE 0x00
11#define BOOT_DEVICE_XIP 0x01
12#define BOOT_DEVICE_XIPWAIT 0x02
13#define BOOT_DEVICE_NAND 0x03
14#define BOOT_DEVICE_ONENAND 0x04
15#define BOOT_DEVICE_MMC1 0x05
16#define BOOT_DEVICE_MMC2 0x06
17#define BOOT_DEVICE_MMC2_2 0x07
18#define BOOT_DEVICE_UART 0x43
19#define BOOT_DEVICE_USB 0x45
Tom Rini29d69dc2012-08-14 08:50:58 -070020
Tom Rini46526842013-04-05 06:21:44 +000021#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
Paul Kocialkowski851c4e72015-07-15 16:02:20 +020022#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
Tom Rini29d69dc2012-08-14 08:50:58 -070023#endif