summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLean Sheng Tan <sheng.tan@9elements.com>2022-06-14 11:11:20 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-06-15 08:10:07 +0000
commit354fbef17bddd6d9a150863fceb46c186aa91249 (patch)
tree926809fd8184db78667a81d602b39c2913aba6f5
parent0c790c81bf9e0f9d9b746fbf7769d29a8f092451 (diff)
mb/prodrive/hermes: Add BIOS menu control via EEPROM
Introduce a new field in the board settings EEPROM region to control whether BIOS menu is to be enabled. This field will be used in EDK2 payload. Signed-off-by: Lean Sheng Tan <sheng.tan@9elements.com> Change-Id: I0af81c9e70a0088caea6bc7e2b81eab9a123c0f7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65128 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Christian Walter <christian.walter@9elements.com>
-rw-r--r--src/mainboard/prodrive/hermes/eeprom.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/prodrive/hermes/eeprom.h b/src/mainboard/prodrive/hermes/eeprom.h
index f428a432fc..ad41d029ed 100644
--- a/src/mainboard/prodrive/hermes/eeprom.h
+++ b/src/mainboard/prodrive/hermes/eeprom.h
@@ -53,12 +53,13 @@ struct __packed eeprom_board_settings {
uint8_t pxe_boot_capability;
uint8_t pink_rear_vref;
uint8_t vtx_disabled;
+ uint8_t boot_menu_disabled;
};
- uint8_t raw_settings[11];
+ uint8_t raw_settings[12];
};
};
-_Static_assert(sizeof(struct eeprom_board_settings) == (11 + sizeof(uint32_t)),
+_Static_assert(sizeof(struct eeprom_board_settings) == (12 + sizeof(uint32_t)),
"struct eeprom_board_settings has invalid size!");
struct __packed eeprom_bmc_settings {