From 8d730224ac7ea1069ebcd367b860f31b6491b9b1 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 2 Oct 2023 15:34:51 +0100 Subject: mb/starlabs: Set POWER_STATE_OFF_AFTER_FAILURE This Kconfig option is used as a failback when `get_uint_option` fails. It will fail after coreboot is flashed, as the cfr code has not yet setup the options. Change the default to OFF, so when it does fallback, it's the correct behaviour. Change-Id: I5d06047fe23322520e9c84ded8f1941f6d716a51 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/78223 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/starlabs/lite/Kconfig | 3 +++ src/mainboard/starlabs/starbook/Kconfig | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/starlabs/lite/Kconfig b/src/mainboard/starlabs/lite/Kconfig index 78c95e206e..ee1958eec6 100644 --- a/src/mainboard/starlabs/lite/Kconfig +++ b/src/mainboard/starlabs/lite/Kconfig @@ -71,6 +71,9 @@ config MAINBOARD_SMBIOS_PRODUCT_NAME string default "Lite" +config POWER_STATE_OFF_AFTER_FAILURE + default y + config TRACKPAD_INTERRUPT hex default 0x1 if BOARD_STARLABS_LITE_GLK diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig index e2fb973307..4cb04c3b3d 100644 --- a/src/mainboard/starlabs/starbook/Kconfig +++ b/src/mainboard/starlabs/starbook/Kconfig @@ -158,6 +158,10 @@ config ME_BIN_PATH string default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin" + +config POWER_STATE_OFF_AFTER_FAILURE + default y + config EDK2_BOOTSPLASH_FILE string default "3rdparty/blobs/mainboard/starlabs/Logo.bmp" -- cgit v1.2.3