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_ |
Marek Vasut | 463bb19 | 2014-03-19 02:02:55 +0100 | [diff] [blame] | 8 | #define _ASM_ARCH_SPL_H_ |
Tom Rini | 55cdbb8 | 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_XIPWAIT 2 |
| 13 | #define BOOT_DEVICE_NAND 3 |
Enric Balletbo i Serra | 66c7f39 | 2013-02-07 23:14:46 +0000 | [diff] [blame] | 14 | #define BOOT_DEVICE_ONENAND 4 |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 15 | #define BOOT_DEVICE_MMC1 5 |
| 16 | #define BOOT_DEVICE_MMC2 6 |
| 17 | #define BOOT_DEVICE_MMC2_2 7 |
Dan Murphy | e9024ef | 2014-02-03 06:59:02 -0600 | [diff] [blame] | 18 | #define BOOT_DEVICE_SATA 9 |
Matt Porter | c97a9b3 | 2013-10-07 15:52:59 +0530 | [diff] [blame] | 19 | #define BOOT_DEVICE_SPI 10 |
Minal Shah | a13cbf5 | 2013-10-04 14:52:02 -0400 | [diff] [blame] | 20 | #define BOOT_DEVICE_UART 0x43 |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 21 | |
Tom Rini | c3d2c24 | 2013-04-05 06:21:44 +0000 | [diff] [blame] | 22 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1 |
| 23 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2 |
Tom Rini | 55cdbb8 | 2012-08-14 08:50:58 -0700 | [diff] [blame] | 24 | #endif |