diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-08 12:40:09 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-08 12:40:09 +0000 |
commit | 9e3a6c4913ab66965f91233c58ae47dc542ee475 (patch) | |
tree | d6d5ae2d0520131ae33d0329e25fb715ba4e0584 /ft2232_spi.c | |
parent | ab6328fa3615683e5dbba0fffe8707fa0072d035 (diff) | |
download | ast2050-flashrom-9e3a6c4913ab66965f91233c58ae47dc542ee475.zip ast2050-flashrom-9e3a6c4913ab66965f91233c58ae47dc542ee475.tar.gz |
Multiple unrelated changes
CONFIG_BITBANG_SPI was not selected if CONFIG_NICINTEL_SPI was on by default.
Wiki output was missing all flash chips if CONFIG_INTERNAL was not
selected.
Use correct type for toupper()/tolower()/isspace() functions.
Specify software requirements in a generic way.
Non-x86 compilation does not work with the default programmer set, so
list the make parameters which result in a working build.
Corresponding to flashrom svn r1203.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r-- | ft2232_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c index ee2b693..a2ea2a8 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -148,7 +148,7 @@ int ft2232_spi_init(void) free(arg); arg = extract_programmer_param("port"); if (arg) { - switch (toupper(*arg)) { + switch (toupper((unsigned char)*arg)) { case 'A': ft2232_interface = INTERFACE_A; break; |