summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-09-23 17:45:59 +0200
committerNico Huber <nico.h@gmx.de>2018-10-23 21:15:53 +0000
commit3a41e2a27e45f17889b0789eb2ba43b97af0d1b6 (patch)
treee3dad0477a3486c447feb447aae67d2057132f66
parentf56607e66bdce71ec992c167633c7e7f0eb0482c (diff)
downloadflashrom-3a41e2a27e45f17889b0789eb2ba43b97af0d1b6.tar.gz
flashrom-3a41e2a27e45f17889b0789eb2ba43b97af0d1b6.tar.bz2
flashrom-3a41e2a27e45f17889b0789eb2ba43b97af0d1b6.zip
dmi: Remove nonsense guard; Makefile handles it
Change-Id: If4216be1f9ed308e4580c36d0356480e637ffc82 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/28715 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--dmi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dmi.c b/dmi.c
index 413782180..79321ce20 100644
--- a/dmi.c
+++ b/dmi.c
@@ -34,8 +34,6 @@
#include "flash.h"
#include "programmer.h"
-#if defined(__i386__) || defined(__x86_64__)
-
/* Enable SMBIOS decoding. Currently legacy DMI decoding is enough. */
#define SM_SUPPORT 0
@@ -481,5 +479,3 @@ int dmi_match(const char *pattern)
return 0;
}
-
-#endif // defined(__i386__) || defined(__x86_64__)