From 354fbef17bddd6d9a150863fceb46c186aa91249 Mon Sep 17 00:00:00 2001 From: Lean Sheng Tan Date: Tue, 14 Jun 2022 11:11:20 +0200 Subject: [PATCH] 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 Change-Id: I0af81c9e70a0088caea6bc7e2b81eab9a123c0f7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65128 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Christian Walter --- src/mainboard/prodrive/hermes/eeprom.h | 5 +++-- 1 file 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 {