summaryrefslogtreecommitdiffstats
path: root/ogp_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ogp_spi.c')
-rw-r--r--ogp_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogp_spi.c b/ogp_spi.c
index f8bc1711e..27622a634 100644
--- a/ogp_spi.c
+++ b/ogp_spi.c
@@ -117,7 +117,7 @@ static int ogp_spi_init(void)
uint32_t ogp_reg__ce;
uint32_t ogp_reg_sck;
- type = extract_programmer_param("rom");
+ type = extract_programmer_param_str("rom");
if (!type) {
msg_perr("Please use flashrom -p ogp_spi:rom=... to specify "