mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
board_enables: Allow for prog cfg coupling with board cfg
Some boards need to configure the programmer in specific ways. For example, a programmer such as internal may need to be configured either as laptop or not type and as such the board enable needs the ability to feed state back into the programmer configuration. Plumb this though by creating a board_cfg structure that can be packed. Change-Id: I7058a693e714a6966a842ae97cc8da7296e63e5e Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/71623 Reviewed-by: Sam McNally <sammc@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
73e4709110
commit
40cc15f55d
@ -194,7 +194,7 @@ static const struct spi_master spi_master_wbsio = {
|
||||
.shutdown = wbsio_spi_shutdown,
|
||||
};
|
||||
|
||||
int wbsio_check_for_spi(void)
|
||||
int wbsio_check_for_spi(struct board_cfg *cfg)
|
||||
{
|
||||
uint16_t wbsio_spibase = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user