commit | e0dff1176e1bbff305d0b98e719211953ed2e21c | [log] [tgz] |
---|---|---|
author | Thomas Heijligen <thomas.heijligen@secunet.com> | Fri Mar 18 20:47:13 2022 +0100 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | b0468206e68633d25932333ee192345313cff529 | |
parent | d1dacf7044bcd9edc40cef031d051906cf790e8e [diff] [blame] |
hwaccess_physmap: add missing DirectHW include For MACH / APPLE map_physical is defined in DirectHW.h TEST: run `make` compiles, linking fails due to missing directhw object in my setup, don't know how to fix this Change-Id: I0e0f3fd587ae46e6f73418f2c83641cb1202478c Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/62929 Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72314 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/hwaccess_physmap.c b/hwaccess_physmap.c index 8ea05cf..5644680 100644 --- a/hwaccess_physmap.c +++ b/hwaccess_physmap.c
@@ -133,6 +133,7 @@ { } #elif defined(__MACH__) && defined(__APPLE__) +#include <DirectHW/DirectHW.h> #define MEM_DEV "DirectHW"