summaryrefslogtreecommitdiff
path: root/amd_imc.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 /amd_imc.c
parentcce29a485552052ce922ed1354c26674884a7857 (diff)
downloadflashrom-git-95f39b0098783704f2425e118897da5315ccb2ee.tar.gz
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 'amd_imc.c')
-rw-r--r--amd_imc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/amd_imc.c b/amd_imc.c
index 8b0bcf2f..a3959e63 100644
--- a/amd_imc.c
+++ b/amd_imc.c
@@ -15,8 +15,6 @@
* GNU General Public License for more details.
*/
-#if defined(__i386__) || defined(__x86_64__)
-
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
@@ -151,5 +149,3 @@ int amd_imc_shutdown(struct pci_dev *dev)
return ret;
}
-
-#endif