From 2b6dcb36c4121ed12fa2fb66f133365bd88f2456 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 8 Jul 2010 10:13:37 +0000 Subject: 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 Acked-by: Michael Karcher --- it87spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it87spi.c') diff --git a/it87spi.c b/it87spi.c index d314856..eccee0e 100644 --- a/it87spi.c +++ b/it87spi.c @@ -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", -- cgit v1.1