spl.h 792 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * (C) Copyright 2012
  3. * Texas Instruments, <www.ti.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef _ASM_SPL_H_
  8. #define _ASM_SPL_H_
  9. #if defined(CONFIG_ARCH_OMAP2PLUS) \
  10. || defined(CONFIG_EXYNOS4) || defined(CONFIG_EXYNOS5) \
  11. || defined(CONFIG_EXYNOS4210)
  12. /* Platform-specific defines */
  13. #include <asm/arch/spl.h>
  14. #else
  15. enum {
  16. BOOT_DEVICE_RAM,
  17. BOOT_DEVICE_MMC1,
  18. BOOT_DEVICE_MMC2,
  19. BOOT_DEVICE_MMC2_2,
  20. BOOT_DEVICE_NAND,
  21. BOOT_DEVICE_ONENAND,
  22. BOOT_DEVICE_NOR,
  23. BOOT_DEVICE_UART,
  24. BOOT_DEVICE_SPI,
  25. BOOT_DEVICE_USB,
  26. BOOT_DEVICE_SATA,
  27. BOOT_DEVICE_I2C,
  28. BOOT_DEVICE_BOARD,
  29. BOOT_DEVICE_DFU,
  30. BOOT_DEVICE_XIP,
  31. BOOT_DEVICE_BOOTROM,
  32. BOOT_DEVICE_NONE
  33. };
  34. #endif
  35. /* Linker symbols. */
  36. extern char __bss_start[], __bss_end[];
  37. #ifndef CONFIG_DM
  38. extern gd_t gdata;
  39. #endif
  40. #endif