[fwts PATCH v2 1/1] lib: enable /dev/mem access on aarch64

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Oct 15 16:42:54 UTC 2020


The SMBIOS3 table supplied by U-Boot cannot be read without mmap.

Cc: Leif Lindholm <leif at nuviainc.com>
Fixes: f36ff824d145 ("lib: disable /dev/mem access on aarch64")
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
v2:
	Leif's email address has changed
---
 src/lib/include/fwts.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/include/fwts.h b/src/lib/include/fwts.h
index 6f13d262..a4163055 100644
--- a/src/lib/include/fwts.h
+++ b/src/lib/include/fwts.h
@@ -105,6 +105,7 @@
 #define FWTS_ARCH_AARCH64	1
 #define FWTS_HAS_ACPI	1
 #define FWTS_HAS_UEFI	1
+#define FWTS_USE_DEVMEM 1
 #endif

 #if defined(__s390x__)
--
2.28.0




More information about the fwts-devel mailing list