mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
ichspi.c: Allow passing programmer_cfg directly
Modify the type signature of the programmer entry-point xxx_init() functions to allow for the consumption of the programmer parameterisation string data. Also plumb programmer_cfg though get_params. Change-Id: I480589bb50b47fdf5af259d068f49fedfce88ea5 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66661 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
c9d8c422af
commit
a20ceffa35
@ -362,7 +362,7 @@ enum ich_chipset {
|
||||
|
||||
/* ichspi.c */
|
||||
#if CONFIG_INTERNAL == 1
|
||||
int ich_init_spi(void *spibar, enum ich_chipset ich_generation);
|
||||
int ich_init_spi(const struct programmer_cfg *cfg, void *spibar, enum ich_chipset ich_generation);
|
||||
int via_init_spi(uint32_t mmio_base);
|
||||
|
||||
/* amd_imc.c */
|
||||
|
Reference in New Issue
Block a user