Config.in 3.5 KB

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