sim: dv-cfi: include common headers only
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Oct 2011 02:41:07 +0000 (02:41 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Oct 2011 02:41:07 +0000 (02:41 +0000)
The "devices.h" header is Blackfin-specific, so trying to build dv-cfi
for any other target fails.  Include the specific hw headers this file
needs directly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/dv-cfi.c

index 3646002..f88343b 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
+
 2011-10-04  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and
index 52dcf45..42d868c 100644 (file)
@@ -33,7 +33,8 @@
 #endif
 
 #include "sim-main.h"
-#include "devices.h"
+#include "hw-base.h"
+#include "hw-main.h"
 #include "dv-cfi.h"
 
 /* Flashes are simple state machines, so here we cover all the