heads/patches/coreboot-nitrokey-clevo_release/0001-dasharo-hardcode-configurations.patch
Markus Meissner 65abba9946 coreboot-nitrokey: update dasharo to v1.7.2
* remove all previous coreboot patches (as they are already included)
* to be investigated: linux trampoline patch
* add new patch to hardcode sleep configuration
* activate smmstore as dasharo vendor code requires it

Signed-off-by: Markus Meissner <coder@safemailbox.de>
2023-12-22 15:37:29 +01:00

17 lines
571 B
Diff

diff -ur dasharo_cb.org/src/vendorcode/dasharo/options.c dasharo_cb/src/vendorcode/dasharo/options.c
--- dasharo_cb.org/src/vendorcode/dasharo/options.c 2023-12-18 21:57:46.915582991 +0100
+++ dasharo_cb/src/vendorcode/dasharo/options.c 2023-12-19 19:16:13.077019389 +0100
@@ -189,7 +189,12 @@
uint8_t get_sleep_type_option(void)
{
+
+#if CONFIG(BOARD_NOVACUSTOM_NV4X_ADLP)
+ uint8_t sleep_type = SLEEP_TYPE_OPTION_S3;
+#else
uint8_t sleep_type = SLEEP_TYPE_OPTION_S0IX;
+#endif
if (CONFIG(DRIVERS_EFI_VARIABLE_STORE))
read_u8_var("SleepType", &sleep_type);