summaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-08 10:13:37 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-08 10:13:37 +0000
commit2b6dcb36c4121ed12fa2fb66f133365bd88f2456 (patch)
treebea24b22c91729fd1054a4d285bc8f051e5a8f3b /chipset_enable.c
parent7af6cefa482d4ceadbd9b68d6db12ad9759c8b04 (diff)
downloadast2050-flashrom-2b6dcb36c4121ed12fa2fb66f133365bd88f2456.zip
ast2050-flashrom-2b6dcb36c4121ed12fa2fb66f133365bd88f2456.tar.gz
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>
Diffstat (limited to 'chipset_enable.c')
-rw-r--r--chipset_enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chipset_enable.c b/chipset_enable.c
index 855cd2b..5c16259 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -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);
OpenPOWER on IntegriCloud