Kconfig 1.7 KB

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