Message ID | 20201015163739.7552-1-xypron.glpk@gmx.de |
---|---|
State | Superseded |
Headers | show |
Series | [1/1] lib: enable /dev/mem access on aarch64 | expand |
On 15/10/2020 17:37, Heinrich Schuchardt wrote: > The SMBIOS3 table supplied by U-Boot cannot be read without mmap. > > Cc: Leif Lindholm <leif.lindholm@linaro.org> > Fixes: f36ff824d145 ("lib: disable /dev/mem access on aarch64") > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > 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 > Unless Lief disagrees, I can't see why not, especially if it allows testing of the SMBIOS table. Acked-by: Colin Ian King <colin.king@canonical.com>
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__)
The SMBIOS3 table supplied by U-Boot cannot be read without mmap. Cc: Leif Lindholm <leif.lindholm@linaro.org> Fixes: f36ff824d145 ("lib: disable /dev/mem access on aarch64") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- src/lib/include/fwts.h | 1 + 1 file changed, 1 insertion(+) -- 2.28.0