From 6dd8e9f11c2e5f5716301f6d2eb6751dd7db3677 Mon Sep 17 00:00:00 2001 From: hailfinger Date: Tue, 9 Nov 2010 22:00:31 +0000 Subject: Support setting the Dediprog SF100 SPI voltage. Add a generic voltage parameter parser. Move tolower_string() from dummyflasher.c to flashrom.c to make it available everywhere. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1226 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- dummyflasher.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dummyflasher.c') diff --git a/dummyflasher.c b/dummyflasher.c index 21ee9b4..473e45e 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -19,7 +19,6 @@ #include #include -#include #include "flash.h" #include "chipdrivers.h" #include "programmer.h" @@ -61,12 +60,6 @@ static int emu_jedec_ce_c7_size = 0; static int spi_write_256_chunksize = 256; -static void tolower_string(char *str) -{ - for (; *str != '\0'; str++) - *str = (char)tolower((unsigned char)*str); -} - int dummy_init(void) { char *bustext = NULL; -- cgit v1.2.1