spl.h 493 B

123456789101112131415161718192021
  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_SPL_H_
  9. #define BOOT_DEVICE_NONE 0
  10. #define BOOT_DEVICE_XIP 1
  11. #define BOOT_DEVICE_NAND 2
  12. #define BOOT_DEVICE_ONENAND 3
  13. #define BOOT_DEVICE_MMC2 5 /*emmc*/
  14. #define BOOT_DEVICE_MMC1 6
  15. #define BOOT_DEVICE_XIPWAIT 7
  16. #define BOOT_DEVICE_MMC2_2 0xFF
  17. #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC2
  18. #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC1
  19. #endif