blob: f70799860f4d387396317cacb04bf7c9a9a122f2 [file] [log] [blame]
Tom Rini55cdbb82012-08-14 08:50:58 -07001/*
2 * (C) Copyright 2012
3 * Texas Instruments, <www.ti.com>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Tom Rini55cdbb82012-08-14 08:50:58 -07006 */
7#ifndef _ASM_ARCH_SPL_H_
Marek Vasut463bb192014-03-19 02:02:55 +01008#define _ASM_ARCH_SPL_H_
Tom Rini55cdbb82012-08-14 08:50:58 -07009
10#define BOOT_DEVICE_NONE 0
11#define BOOT_DEVICE_XIP 1
12#define BOOT_DEVICE_XIPWAIT 2
13#define BOOT_DEVICE_NAND 3
Enric Balletbo i Serra66c7f392013-02-07 23:14:46 +000014#define BOOT_DEVICE_ONENAND 4
Tom Rini55cdbb82012-08-14 08:50:58 -070015#define BOOT_DEVICE_MMC1 5
16#define BOOT_DEVICE_MMC2 6
17#define BOOT_DEVICE_MMC2_2 7
Dan Murphye9024ef2014-02-03 06:59:02 -060018#define BOOT_DEVICE_SATA 9
Matt Porterc97a9b32013-10-07 15:52:59 +053019#define BOOT_DEVICE_SPI 10
Minal Shaha13cbf52013-10-04 14:52:02 -040020#define BOOT_DEVICE_UART 0x43
Tom Rini55cdbb82012-08-14 08:50:58 -070021
Tom Rinic3d2c242013-04-05 06:21:44 +000022#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
23#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
Tom Rini55cdbb82012-08-14 08:50:58 -070024#endif