From 15019c8e93f6d441daea04ab26b98933c6ce89be Mon Sep 17 00:00:00 2001 From: hailfinger Date: Fri, 8 Oct 2010 12:40:09 +0000 Subject: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1203 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- ft2232_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ft2232_spi.c') 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; -- cgit v1.2.1