]>
Commit | Line | Data |
---|---|---|
55cdbb8d TR |
1 | /* |
2 | * (C) Copyright 2012 | |
3 | * Texas Instruments, <www.ti.com> | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
55cdbb8d TR |
6 | */ |
7 | #ifndef _ASM_ARCH_SPL_H_ | |
8 | #define _ASM_SPL_H_ | |
9 | ||
90207b62 | 10 | #define BOOT_DEVICE_XIP 2 |
55cdbb8d | 11 | #define BOOT_DEVICE_NAND 5 |
8b029f22 | 12 | #ifdef CONFIG_AM33XX |
55cdbb8d TR |
13 | #define BOOT_DEVICE_MMC1 8 |
14 | #define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */ | |
8b029f22 MP |
15 | #elif defined(CONFIG_TI814X) |
16 | #define BOOT_DEVICE_MMC1 9 | |
17 | #define BOOT_DEVICE_MMC2 8 /* ROM only supports 2nd instance */ | |
18 | #endif | |
69916bcf | 19 | #define BOOT_DEVICE_SPI 11 |
55cdbb8d | 20 | #define BOOT_DEVICE_UART 65 |
da07c21b | 21 | #define BOOT_DEVICE_USBETH 68 |
7ac2fe2d | 22 | #define BOOT_DEVICE_CPGMAC 70 |
55cdbb8d | 23 | #define BOOT_DEVICE_MMC2_2 0xFF |
c3d2c24f | 24 | |
74f40ea1 | 25 | #ifdef CONFIG_AM33XX |
c3d2c24f TR |
26 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1 |
27 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2 | |
74f40ea1 TR |
28 | #elif defined(CONFIG_TI814X) |
29 | #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2 | |
30 | #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC1 | |
31 | #endif | |
55cdbb8d | 32 | #endif |