spl.h 691 B

123456789101112131415161718192021222324252627
  1. /*
  2. * (C) Copyright 2012
  3. * Texas Instruments, <www.ti.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef _ASM_ARCH_SPL_H_
  8. #define _ASM_ARCH_SPL_H_
  9. #define BOOT_DEVICE_NONE 0x00
  10. #define BOOT_DEVICE_XIP 0x01
  11. #define BOOT_DEVICE_XIPWAIT 0x02
  12. #define BOOT_DEVICE_NAND 0x03
  13. #define BOOT_DEVICE_ONENAND 0x04
  14. #define BOOT_DEVICE_MMC1 0x05
  15. #define BOOT_DEVICE_MMC2 0x06
  16. #define BOOT_DEVICE_MMC2_2 0x07
  17. #define BOOT_DEVICE_SATA 0x09
  18. #define BOOT_DEVICE_SPI 0x0A
  19. #define BOOT_DEVICE_QSPI_1 0x0A
  20. #define BOOT_DEVICE_QSPI_4 0x0B
  21. #define BOOT_DEVICE_UART 0x43
  22. #define BOOT_DEVICE_USB 0x45
  23. #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
  24. #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
  25. #endif