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_SATA 0x09 |
| 19 | #define BOOT_DEVICE_SPI 0x0A |
| 20 | #define BOOT_DEVICE_QSPI_1 0x0A |
| 21 | #define BOOT_DEVICE_QSPI_4 0x0B |
Minal Shah | 01ae8ca | 2013-10-04 14:52:02 -0400 | [diff] [blame] | 22 | #define BOOT_DEVICE_UART 0x43 |
B, Ravi | 2fb19df | 2016-07-28 17:39:17 +0530 | [diff] [blame] | 23 | #define BOOT_DEVICE_DFU 0x45 |
Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 24 | |
Tom Rini | 4652684 | 2013-04-05 06:21:44 +0000 | [diff] [blame] | 25 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1 |
| 26 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2 |
Tom Rini | 29d69dc | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 27 | #endif |