config.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #
  2. # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
  3. #
  4. # SPDX-License-Identifier: GPL-2.0+
  5. include $(srctree)/arch/arm/mach-omap2/config_secure.mk
  6. ifdef CONFIG_SPL_BUILD
  7. ifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info
  8. # On DRA7xx/AM57xx:
  9. #
  10. # For booting spl from SD/MMC/eMMC use
  11. # u-boot-spl_HS_MLO
  12. #
  13. # For booting spl over UART or USB use
  14. # u-boot-spl_HS_ULO
  15. #
  16. # For booting spl from QSPI or NOR use
  17. # u-boot-spl_HS_X-LOADER
  18. ifeq ($(CONFIG_OMAP54XX),y)
  19. INPUTS-y += u-boot-spl_HS_MLO
  20. INPUTS-y += u-boot-spl_HS_ULO
  21. INPUTS-y += u-boot-spl_HS_X-LOADER
  22. endif
  23. # On AM43XX:
  24. #
  25. # For booting spl from SPI flash use
  26. # u-boot-spl_HS_SPI_X-LOADER
  27. #
  28. # For booting spl from all other media use
  29. # u-boot-spl_HS_ISSW
  30. ifeq ($(CONFIG_AM43XX),y)
  31. INPUTS-y += u-boot-spl_HS_SPI_X-LOADER
  32. INPUTS-y += u-boot-spl_HS_ISSW
  33. endif
  34. # On AM33XX:
  35. #
  36. # For booting spl from SPI flash use
  37. # u-boot-spl_HS_SPI_X-LOADER
  38. #
  39. # For booting spl from NAND flash or raw SD/MMC/eMMC use
  40. # u-boot-spl_HS_X-LOADER
  41. #
  42. # For booting spl from a filesystem on SD/MMC/eMMC use
  43. # u-boot-spl_HS_MLO
  44. #
  45. # For booting spl over UART, USB, or Ethernet use
  46. # u-boot-spl_HS_2ND
  47. ifeq ($(CONFIG_AM33XX),y)
  48. INPUTS-y += u-boot-spl_HS_SPI_X-LOADER
  49. INPUTS-y += u-boot-spl_HS_X-LOADER
  50. INPUTS-y += u-boot-spl_HS_MLO
  51. INPUTS-y += u-boot-spl_HS_2ND
  52. endif
  53. else
  54. INPUTS-y += MLO
  55. ifeq ($(CONFIG_AM33XX),y)
  56. INPUTS-y += MLO.byteswap
  57. endif
  58. endif
  59. else
  60. ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
  61. INPUTS-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
  62. INPUTS-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
  63. endif
  64. INPUTS-y += u-boot.img
  65. endif