diff options
author | Sean Rhodes <sean@starlabs.systems> | 2023-10-02 15:34:51 +0100 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-10-20 14:22:50 +0000 |
commit | 8d730224ac7ea1069ebcd367b860f31b6491b9b1 (patch) | |
tree | 537a9a9fe313cf113b16fa5dd61f6c3c5cfed966 /src/mainboard | |
parent | 34b4a2efd3722443a8923ebf7af49d386918c9ef (diff) |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/starlabs/lite/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/starlabs/starbook/Kconfig | 4 |
2 files changed, 7 insertions, 0 deletions
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" |