path: root/physmap.c
diff options
authorPatrick Georgi <>2012-07-20 20:35:14 +0000
committerCarl-Daniel Hailfinger <>2012-07-20 20:35:14 +0000
commit32508eb304428551cff40b291d44823aafec7574 (patch)
tree0641d77a791290f6842fd60446e87871f6867651 /physmap.c
parent3834c2d7e5a08e09e580be0dc7f9369c941b2a70 (diff)
Hide hwaccess.h from public API
Move hwaccess.h #include from flash.h to individual drivers. libflashrom users need flash.h, but they do not care about hwaccess.h and should not see its definitions because they may conflict with other hardware access functions and #defines used by the libflashrom user. Corresponding to flashrom svn r1549. Signed-off-by: Patrick Georgi <> Acked-by: Carl-Daniel Hailfinger <>
Diffstat (limited to 'physmap.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/physmap.c b/physmap.c
index e54dee4..eca6760 100644
--- a/physmap.c
+++ b/physmap.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "flash.h"
+#include "hwaccess.h"
/* Do we need any file access or ioctl for physmap or MSR? */
#if !defined(__DJGPP__) && !defined(__LIBPAYLOAD__)
OpenPOWER on IntegriCloud