From 2d575412e30f8fe6c8e8ff7cde2d911c2b8d5b74 Mon Sep 17 00:00:00 2001 From: hailfinger Date: Thu, 8 Jul 2010 10:13:37 +0000 Subject: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1072 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- ft2232_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ft2232_spi.c') diff --git a/ft2232_spi.c b/ft2232_spi.c index 0245c53..1dd2e0c 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -80,7 +80,7 @@ int ft2232_spi_init(void) enum ftdi_interface ft2232_interface = INTERFACE_B; char *arg; - arg = extract_param(&programmer_param, "type", ",:"); + arg = extract_programmer_param("type"); if (arg) { if (!strcasecmp(arg, "2232H")) ft2232_type = FTDI_FT2232H; @@ -93,7 +93,7 @@ int ft2232_spi_init(void) } } free(arg); - arg = extract_param(&programmer_param, "port", ",:"); + arg = extract_programmer_param("port"); if (arg) { switch (toupper(*arg)) { case 'A': -- cgit v1.2.1