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 <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78223
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Sean Rhodes 2023-10-02 15:34:51 +01:00 committed by Matt DeVillier
parent 34b4a2efd3
commit 8d730224ac
2 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,9 @@ config MAINBOARD_SMBIOS_PRODUCT_NAME
string string
default "Lite" default "Lite"
config POWER_STATE_OFF_AFTER_FAILURE
default y
config TRACKPAD_INTERRUPT config TRACKPAD_INTERRUPT
hex hex
default 0x1 if BOARD_STARLABS_LITE_GLK default 0x1 if BOARD_STARLABS_LITE_GLK

View File

@ -158,6 +158,10 @@ config ME_BIN_PATH
string string
default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin" default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin"
config POWER_STATE_OFF_AFTER_FAILURE
default y
config EDK2_BOOTSPLASH_FILE config EDK2_BOOTSPLASH_FILE
string string
default "3rdparty/blobs/mainboard/starlabs/Logo.bmp" default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"