Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. config EFI
  2. bool "Support running U-Boot from EFI"
  3. depends on X86
  4. help
  5. U-Boot can be started from EFI on certain platforms. This allows
  6. EFI to perform most of the system init and then jump to U-Boot for
  7. final system boot. Another option is to run U-Boot as an EFI
  8. application, with U-Boot using EFI's drivers instead of its own.
  9. choice
  10. prompt "Select EFI mode to use"
  11. depends on X86 && EFI
  12. config EFI_APP
  13. bool "Support running as an EFI application"
  14. help
  15. Build U-Boot as an application which can be started from EFI. This
  16. is useful for examining a platform in the early stages of porting
  17. U-Boot to it. It allows only very basic functionality, such as a
  18. command prompt and memory and I/O functions. Use 'reset' to return
  19. to EFI.
  20. config EFI_STUB
  21. bool "Support running as an EFI payload"
  22. endchoice
  23. config EFI_RAM_SIZE
  24. hex "Amount of EFI RAM for U-Boot"
  25. depends on EFI_APP
  26. default 0x2000000
  27. help
  28. Set the amount of EFI RAM which is claimed by U-Boot for its own
  29. use. U-Boot allocates this from EFI on start-up (along with a few
  30. other smaller amounts) and it can never be increased after that.
  31. It is used as the RAM size in with U-Boot.
  32. choice
  33. prompt "EFI 32/64-bit selection"
  34. depends on EFI_STUB
  35. help
  36. EFI does not support mixing 32-bit and 64-bit modes. This is a
  37. significant problem because it means that you must build a stub with
  38. the correct type for EFI to load it correctly. If you are using
  39. 32-bit EFI, select 32-bit here, else select 64-bit. Failure to do
  40. this may produce no error message - it just won't start!
  41. config EFI_STUB_32BIT
  42. bool "Produce a stub for running with 32-bit EFI"
  43. config EFI_STUB_64BIT
  44. bool "Produce a stub for running with 64-bit EFI"
  45. endchoice