diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-10 02:41:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-10 02:41:07 +0000 |
commit | d56a2aaeddd077f23cb8d19651a6cfd4f67e791b (patch) | |
tree | 754a736896f0b89599b248a1292693af35f0107e | |
parent | bf4574c415779264eb1b8f7aaf48f11035d1e941 (diff) | |
download | fsf-binutils-gdb-d56a2aaeddd077f23cb8d19651a6cfd4f67e791b.zip fsf-binutils-gdb-d56a2aaeddd077f23cb8d19651a6cfd4f67e791b.tar.gz fsf-binutils-gdb-d56a2aaeddd077f23cb8d19651a6cfd4f67e791b.tar.bz2 |
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>
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/dv-cfi.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3646002..f88343b 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -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 diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c index 52dcf45..42d868c 100644 --- a/sim/common/dv-cfi.c +++ b/sim/common/dv-cfi.c @@ -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 |