Config.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. config BR2_TARGET_EDK2_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_aarch64
  4. default y if BR2_i386
  5. default y if BR2_x86_64
  6. config BR2_TARGET_EDK2
  7. bool "EDK2"
  8. depends on BR2_TARGET_EDK2_ARCH_SUPPORTS
  9. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
  10. select BR2_PACKAGE_EDK2_PLATFORMS
  11. help
  12. EDK II is a modern, feature-rich, cross-platform firmware
  13. development environment for the UEFI and PI specifications.
  14. https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
  15. if BR2_TARGET_EDK2
  16. choice
  17. prompt "Platform"
  18. default BR2_TARGET_EDK2_PLATFORM_OVMF_I386 if BR2_i386
  19. default BR2_TARGET_EDK2_PLATFORM_OVMF_X64 if BR2_x86_64
  20. default BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU if BR2_aarch64
  21. config BR2_TARGET_EDK2_PLATFORM_OVMF_I386
  22. bool "i386"
  23. depends on BR2_i386 || BR2_x86_64
  24. help
  25. Platform configuration for a generic i386 target.
  26. This platform will boot from flash address 0x0.
  27. It should therefore be used as the first bootloader.
  28. config BR2_TARGET_EDK2_PLATFORM_OVMF_X64
  29. bool "x86-64"
  30. depends on BR2_x86_64
  31. help
  32. Platform configuration for a generic x86-64 target.
  33. This platform will boot from flash address 0x0.
  34. It should therefore be used as the first bootloader.
  35. config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU
  36. bool "ARM Virt Qemu (flash)"
  37. depends on BR2_aarch64
  38. help
  39. Platform configuration for QEMU targeting the Virt machine.
  40. This platform will only boot from flash address 0x0.
  41. It should therefore be used as the first bootloader.
  42. config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL
  43. bool "ARM Virt Qemu (kernel)"
  44. depends on BR2_aarch64
  45. help
  46. Platform configuration for QEMU targeting the Virt machine.
  47. This platform can boot from either flash address 0x0 or via
  48. the Linux boot protocol. It can therefore be loaded by a
  49. previous bootloader like ARM Trusted Firmware or OP-TEE.
  50. config BR2_TARGET_EDK2_PLATFORM_ARM_SGI575
  51. bool "ARM SGI-575"
  52. depends on BR2_aarch64
  53. help
  54. Platform configuration for ARM SGI-575 on ARM's
  55. Fixed Virtual Platform (FVP).
  56. config BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64
  57. bool "ARM VExpress FVP Aarch64"
  58. depends on BR2_aarch64
  59. help
  60. Platform configuration for ARM Versatile Express targeting
  61. the Aarch64 Fixed Virtual Platform (FVP).
  62. config BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
  63. bool "Socionext DeveloperBox"
  64. depends on BR2_aarch64
  65. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
  66. depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
  67. select BR2_PACKAGE_HOST_DTC
  68. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
  69. help
  70. Platform configuration for Socionext SynQuacer DeveloperBox
  71. (SC2A11).
  72. comment "Socionext DeveloperBox depends on ATF not using EDK2 as BL33"
  73. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
  74. config BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN
  75. bool "SolidRun MacchiatoBin"
  76. depends on BR2_aarch64
  77. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
  78. select BR2_PACKAGE_HOST_DTC
  79. select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
  80. help
  81. Platform configuration for the SolidRun MacchiatoBin.
  82. config BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA
  83. bool "QEMU SBSA"
  84. depends on BR2_aarch64
  85. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
  86. depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
  87. help
  88. Platform configuration for QEMU targeting the SBSA reference
  89. machine.
  90. comment "QEMU SBSA depends on ATF not using EDK2 as BL33"
  91. depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
  92. endchoice
  93. config BR2_TARGET_EDK2_FD_NAME
  94. string
  95. default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_I386
  96. default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_X64
  97. default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU
  98. default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL
  99. default "BL33_AP_UEFI" if BR2_TARGET_EDK2_PLATFORM_ARM_SGI575
  100. default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64
  101. default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
  102. default "ARMADA_EFI" if BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN
  103. endif
  104. comment "EDK2 needs a toolchain w/ gcc >= 5"
  105. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5