From 95f39b0098783704f2425e118897da5315ccb2ee Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Tue, 21 Sep 2021 10:00:14 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/57797 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Angel Pons Reviewed-by: Nico Huber --- rayer_spi.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'rayer_spi.c') diff --git a/rayer_spi.c b/rayer_spi.c index 1102ff158..e65eb78d0 100644 --- a/rayer_spi.c +++ b/rayer_spi.c @@ -22,7 +22,6 @@ * most OS parport drivers will perform many unnecessary accesses although * this driver just treats the parallel port as a GPIO set. */ -#if defined(__i386__) || defined(__x86_64__) #include #include @@ -334,7 +333,3 @@ const struct programmer_entry programmer_rayer_spi = { .unmap_flash_region = fallback_unmap, .delay = internal_delay, }; - -#else -#error PCI port I/O access is not supported on this architecture yet. -#endif -- cgit v1.2.3