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>
This commit is contained in:
Lean Sheng Tan 2022-06-14 11:11:20 +02:00 committed by Arthur Heymans
parent 0c790c81bf
commit 354fbef17b
1 changed files with 3 additions and 2 deletions

View File

@ -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 {