sim: dv-cfi: include common headers only

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>
This commit is contained in:
Mike Frysinger 2011-10-10 02:41:07 +00:00
parent bf4574c415
commit d56a2aaedd
2 changed files with 6 additions and 1 deletions

View 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

View 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