Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2012 |
| 3 | * Texas Instruments, <www.ti.com> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 6 | */ |
| 7 | #ifndef _ASM_ARCH_SPL_H_ |
| 8 | #define _ASM_SPL_H_ |
| 9 | |
| 10 | #define BOOT_DEVICE_NONE 0 |
| 11 | #define BOOT_DEVICE_XIP 1 |
| 12 | #define BOOT_DEVICE_NAND 2 |
Enric Balletbo i Serra | 66c7f39 | 2013-02-07 23:14:46 +0000 | [diff] [blame] | 13 | #define BOOT_DEVICE_ONENAND 3 |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 14 | #define BOOT_DEVICE_MMC2 5 /*emmc*/ |
| 15 | #define BOOT_DEVICE_MMC1 6 |
| 16 | #define BOOT_DEVICE_XIPWAIT 7 |
| 17 | #define BOOT_DEVICE_MMC2_2 0xFF |
Tom Rini | c3d2c24 | 2013-04-05 06:21:44 +0000 | [diff] [blame] | 18 | |
| 19 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2 |
| 20 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC1 |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 21 | #endif |