mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +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:
@ -37,7 +37,7 @@ int dummy_init(void)
|
||||
|
||||
msg_pspew("%s\n", __func__);
|
||||
|
||||
bustext = extract_param(&programmer_param, "bus", ",:");
|
||||
bustext = extract_programmer_param("bus");
|
||||
msg_pdbg("Requested buses are: %s\n", bustext ? bustext : "default");
|
||||
if (!bustext)
|
||||
bustext = strdup("parallel+lpc+fwh+spi");
|
||||
|
Reference in New Issue
Block a user