Angel Pons submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
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>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62929
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M hwaccess_physmap.c
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/hwaccess_physmap.c b/hwaccess_physmap.c
index b1b9c64..7afe60d 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"


To view, visit change 62929. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0e0f3fd587ae46e6f73418f2c83641cb1202478c
Gerrit-Change-Number: 62929
Gerrit-PatchSet: 3
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Felix Singer <felixsinger@posteo.net>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-MessageType: merged