This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: dv-cfi: include common headers only
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: toolchain-devel at blackfin dot uclinux dot org
- Date: Mon, 11 Jul 2011 14:55:11 -0400
- Subject: [PATCH] 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>
2011-07-11 Mike Frysinger <vapier@gentoo.org>
* dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h.
---
sim/common/dv-cfi.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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
--
1.7.6