diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-05-31 15:27:27 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-05-31 15:27:27 +0000 |
commit | ba23b63348b455036fa642eb2b2e25d98d458ae1 (patch) | |
tree | ecd2ba9f67c51b833d22051628b79ccb1dcde0a2 /internal.c | |
parent | 31f96cb0e3fb58c676eb92a730d2cac71c1d9969 (diff) | |
download | flashrom-ba23b63348b455036fa642eb2b2e25d98d458ae1.tar.gz |
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.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1023 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'internal.c')
-rw-r--r-- | internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ struct pci_dev *pci_card_find(uint16_t vendor, uint16_t device, } #endif -#if INTERNAL_SUPPORT == 1 +#if CONFIG_INTERNAL == 1 int force_boardenable = 0; int force_boardmismatch = 0; |