Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2012 |
| 3 | * Texas Instruments, <www.ti.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 6 | */ |
| 7 | #ifndef _ASM_ARCH_SPL_H_ |
Marek Vasut | 4ad4cef | 2014-03-19 02:02:55 +0100 | [diff] [blame] | 8 | #define _ASM_ARCH_SPL_H_ |
Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 9 | |
| 10 | #define BOOT_DEVICE_NONE 0 |
| 11 | #define BOOT_DEVICE_XIP 1 |
| 12 | #define BOOT_DEVICE_NAND 2 |
Enric Balletbo i Serra | cdba2be | 2013-02-07 23:14:46 +0000 | [diff] [blame] | 13 | #define BOOT_DEVICE_ONENAND 3 |
Tom Rini | 29d69dc | 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 | 4652684 | 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 | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 21 | #endif |