diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-08 10:13:37 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-08 10:13:37 +0000 |
commit | 2b6dcb36c4121ed12fa2fb66f133365bd88f2456 (patch) | |
tree | bea24b22c91729fd1054a4d285bc8f051e5a8f3b /it87spi.c | |
parent | 7af6cefa482d4ceadbd9b68d6db12ad9759c8b04 (diff) | |
download | flashrom-2b6dcb36c4121ed12fa2fb66f133365bd88f2456.tar.gz flashrom-2b6dcb36c4121ed12fa2fb66f133365bd88f2456.tar.bz2 flashrom-2b6dcb36c4121ed12fa2fb66f133365bd88f2456.zip |
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 'it87spi.c')
-rw-r--r-- | it87spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ static uint16_t find_ite_spi_flash_port(uint16_t port, uint16_t id) flashport |= sio_read(port, 0x65); msg_pdbg("Serial flash port 0x%04x\n", flashport); /* Non-default port requested? */ - portpos = extract_param(&programmer_param, "it87spiport", ",:"); + portpos = extract_programmer_param("it87spiport"); if (portpos && strlen(portpos)) { flashport = strtol(portpos, (char **)NULL, 0); msg_pinfo("Forcing serial flash port 0x%04x\n", |