mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Unify programmer parameter extraction
Make programmer_param static by converting all users to extract_programmer_param. Programmer parameters can no longer be separated with a colon, they have to be separated with a comma. Corresponding to flashrom svn r1072. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
@ -300,7 +300,7 @@ static int enable_flash_ich_dc(struct pci_dev *dev, const char *name)
|
||||
int max_decode_fwh_decode = 0;
|
||||
int contiguous = 1;
|
||||
|
||||
idsel = extract_param(&programmer_param, "fwh_idsel", ",:");
|
||||
idsel = extract_programmer_param("fwh_idsel");
|
||||
if (idsel && strlen(idsel)) {
|
||||
fwh_conf = (uint32_t)strtoul(idsel, NULL, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user