path: root/ft2232_spi.c
diff options
authorCarl-Daniel Hailfinger <>2010-05-31 15:27:27 +0000
committerCarl-Daniel Hailfinger <>2010-05-31 15:27:27 +0000
commit71127727dcff4f7e70b318d7a5eb87f0c8fcc4d7 (patch)
treeecd2ba9f67c51b833d22051628b79ccb1dcde0a2 /ft2232_spi.c
parenta0020df6309e4536fcb97bd93bc46e2068f0ffe8 (diff)
So far, we have up to 4 different names for the same thing (ignoring capitalization)
CONFIG_FT2232SPI (makefile config option) FT2232_SPI_SUPPORT (#define) ft2232spi (programmer name) ft2232_spi.c (programmer file) Use CONFIG_* with underscores for makefile config options and #defines and kill the useless _SUPPORT idiom. Use lowercase names with underscores for programmer names and programmer files. With this, you can run "grep -i ft2232_spi" and find everything related to the ft2232_spi driver. Same applies to all other programmers. Corresponding to flashrom svn r1023. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Uwe Hermann <>
Diffstat (limited to 'ft2232_spi.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c
index 111b46d..9a3072e 100644
--- a/ft2232_spi.c
+++ b/ft2232_spi.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#if FT2232_SPI_SUPPORT == 1
+#if CONFIG_FT2232_SPI == 1
#include <stdio.h>
#include <stdint.h>
OpenPOWER on IntegriCloud