mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
65abba9946
* 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>
17 lines
571 B
Diff
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);
|