summaryrefslogtreecommitdiffstats
path: root/dummyflasher.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-09 22:00:31 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-09 22:00:31 +0000
commitc24413879c42c24a534735ef71859ab1054a4716 (patch)
treec229d9a277e2a2fc95f210ce0f01ce3d5b025d27 /dummyflasher.c
parent12d6d821416436cf3ede3dbabcd688887ef7ba76 (diff)
downloadast2050-flashrom-c24413879c42c24a534735ef71859ab1054a4716.zip
ast2050-flashrom-c24413879c42c24a534735ef71859ab1054a4716.tar.gz
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. Corresponding to flashrom svn r1226. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coreboot.org>
Diffstat (limited to 'dummyflasher.c')
-rw-r--r--dummyflasher.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/dummyflasher.c b/dummyflasher.c
index 21ee9b4..473e45e 100644
--- a/dummyflasher.c
+++ b/dummyflasher.c
@@ -19,7 +19,6 @@
#include <string.h>
#include <stdlib.h>
-#include <ctype.h>
#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;
OpenPOWER on IntegriCloud