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 | |
Paul Kocialkowski | 851c4e7 | 2015-07-15 16:02:20 +0200 | [diff] [blame] | 10 | #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 Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 20 | |
Tom Rini | 4652684 | 2013-04-05 06:21:44 +0000 | [diff] [blame] | 21 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1 |
Paul Kocialkowski | 851c4e7 | 2015-07-15 16:02:20 +0200 | [diff] [blame] | 22 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2 |
Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 23 | #endif |