diff options
-rw-r--r-- | payloads/external/tianocore/Kconfig | 6 | ||||
-rw-r--r-- | payloads/external/tianocore/Makefile | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index d30386e064..1de7c71f18 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -169,11 +169,11 @@ config TIANOCORE_PS2_SUPPORT Include support for PS/2 keyboards config TIANOCORE_SD_MMC_TIMEOUT - int "Timeout in μs for initializing SD Card reader" - default 1000 + int "Timeout in ms for initializing SD and eMMC devices" + default 10 help The amount of time allowed to initialize the SD Card reader and/or eMMC drive. - Most only require 1000μs, but certain readers can take 1000000μs. + Most only require 10ms, but certain readers can take 1s. config TIANOCORE_SERIAL_SUPPORT bool "Support serial output" diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index 7a3119ed77..49e49ddb96 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -78,7 +78,7 @@ BUILD_STR += -D USE_CBMEM_FOR_CONSOLE=TRUE endif # SD_MMC_TIMEOUT = 1000000 ifneq ($(CONFIG_TIANOCORE_SD_MMC_TIMEOUT),) -BUILD_STR += -D SD_MMC_TIMEOUT=$(CONFIG_TIANOCORE_SD_MMC_TIMEOUT) +BUILD_STR += -D SD_MMC_TIMEOUT=$(call int-multiply, $(CONFIG_TIANOCORE_SD_MMC_TIMEOUT) 1000) endif # # EDKII has the below PCDs that are revalant to coreboot: |