clk: rk3399: Fix eMMC get_clk reg offset
[oweals/u-boot.git] / lib / efi / Kconfig
index b23ba5b50412f9df907fdf9826e4bdef24696de3..93b85644920bfd4638702116c51fd5f3eaf27fb4 100644 (file)
@@ -1,6 +1,7 @@
 config EFI
        bool "Support running U-Boot from EFI"
        depends on X86
+       imply X86_TSC_READ_BASE
        help
          U-Boot can be started from EFI on certain platforms. This allows
          EFI to perform most of the system init and then jump to U-Boot for
@@ -20,6 +21,11 @@ config EFI_APP
          command prompt and memory and I/O functions. Use 'reset' to return
          to EFI.
 
+config EFI_STUB
+       bool "Support running as an EFI payload"
+
+endchoice
+
 config EFI_RAM_SIZE
        hex "Amount of EFI RAM for U-Boot"
        depends on EFI_APP
@@ -30,4 +36,20 @@ config EFI_RAM_SIZE
          other smaller amounts) and it can never be increased after that.
          It is used as the RAM size in with U-Boot.
 
+choice
+       prompt "EFI 32/64-bit selection"
+       depends on EFI_STUB
+       help
+         EFI does not support mixing 32-bit and 64-bit modes. This is a
+         significant problem because it means that you must build a stub with
+         the correct type for EFI to load it correctly. If you are using
+         32-bit EFI, select 32-bit here, else select 64-bit. Failure to do
+         this may produce no error message - it just won't start!
+
+config EFI_STUB_32BIT
+       bool "Produce a stub for running with 32-bit EFI"
+
+config EFI_STUB_64BIT
+       bool "Produce a stub for running with 64-bit EFI"
+
 endchoice