summaryrefslogtreecommitdiffstats
path: root/ft2232_spi.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-09-21 10:00:14 +0200
committerNico Huber <nico.h@gmx.de>2021-09-26 13:00:26 +0000
commit95f39b0098783704f2425e118897da5315ccb2ee (patch)
tree0a3dd647b427203405d5c2a41da52d3321a5cde2 /ft2232_spi.c
parentcce29a485552052ce922ed1354c26674884a7857 (diff)
downloadflashrom-95f39b0098783704f2425e118897da5315ccb2ee.tar.gz
flashrom-95f39b0098783704f2425e118897da5315ccb2ee.tar.bz2
flashrom-95f39b0098783704f2425e118897da5315ccb2ee.zip
remove compile guards
The build system handles the decision when to build a file. Extra compile guards for the source files are not necessary. Change-Id: I76a76e05c7a7dd27637325ab1e9d8946fd5f9076 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/57797 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r--ft2232_spi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c
index 15837d928..0962f1c10 100644
--- a/ft2232_spi.c
+++ b/ft2232_spi.c
@@ -14,8 +14,6 @@
* GNU General Public License for more details.
*/
-#if CONFIG_FT2232_SPI == 1
-
#include <stdio.h>
#include <strings.h>
#include <string.h>
@@ -599,4 +597,3 @@ const struct programmer_entry programmer_ft2232_spi = {
.unmap_flash_region = fallback_unmap,
.delay = internal_delay,
};
-#endif