summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-02-08 15:30:16 -0500
committerWolfgang Denk <wd@denx.de>2010-02-08 22:05:42 +0100
commite39bf1e2a9e437174687de687c127ec980a93eeb (patch)
treee22f4513453e524d0fafd6e001b2b03fc0a9a483
parenta1b322a98319de568b3bc38029ef7e123643c1e8 (diff)
downloadu-boot-e39bf1e2a9e437174687de687c127ec980a93eeb.tar.gz
u-boot-e39bf1e2a9e437174687de687c127ec980a93eeb.tar.bz2
u-boot-e39bf1e2a9e437174687de687c127ec980a93eeb.zip
kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed
Commit cbb0cab1d929839d broke some platforms which used kgdb code but didn't actually include kgdb.h. So include kgdb.h in all the relevant traps code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--cpu/74xx_7xx/traps.c1
-rw-r--r--cpu/mpc512x/traps.c1
-rw-r--r--cpu/mpc5xx/traps.c1
-rw-r--r--cpu/mpc5xxx/traps.c1
-rw-r--r--cpu/mpc8220/traps.c1
-rw-r--r--cpu/mpc8260/traps.c1
-rw-r--r--cpu/mpc83xx/traps.c1
-rw-r--r--cpu/mpc85xx/traps.c1
-rw-r--r--cpu/mpc86xx/traps.c1
-rw-r--r--cpu/mpc8xx/traps.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/cpu/74xx_7xx/traps.c b/cpu/74xx_7xx/traps.c
index 24e28e212a..1d5dd017ef 100644
--- a/cpu/74xx_7xx/traps.c
+++ b/cpu/74xx_7xx/traps.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
#ifdef CONFIG_AMIGAONEG3SE
diff --git a/cpu/mpc512x/traps.c b/cpu/mpc512x/traps.c
index 8000fabd4a..786f4a5a7e 100644
--- a/cpu/mpc512x/traps.c
+++ b/cpu/mpc512x/traps.c
@@ -28,6 +28,7 @@
*/
#include <common.h>
+#include <kgdb.h>
#include <asm/processor.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/cpu/mpc5xx/traps.c b/cpu/mpc5xx/traps.c
index cc8e091352..6882c21a41 100644
--- a/cpu/mpc5xx/traps.c
+++ b/cpu/mpc5xx/traps.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_BEDBUG)
diff --git a/cpu/mpc5xxx/traps.c b/cpu/mpc5xxx/traps.c
index 2a0915351e..934a2f2ab0 100644
--- a/cpu/mpc5xxx/traps.c
+++ b/cpu/mpc5xxx/traps.c
@@ -35,6 +35,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
/* Returns 0 if exception not found and fixup otherwise. */
diff --git a/cpu/mpc8220/traps.c b/cpu/mpc8220/traps.c
index f98d40f008..456578001b 100644
--- a/cpu/mpc8220/traps.c
+++ b/cpu/mpc8220/traps.c
@@ -35,6 +35,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
/* Returns 0 if exception not found and fixup otherwise. */
diff --git a/cpu/mpc8260/traps.c b/cpu/mpc8260/traps.c
index f9f4dea939..d216f71f94 100644
--- a/cpu/mpc8260/traps.c
+++ b/cpu/mpc8260/traps.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
#include <asm/m8260_pci.h>
diff --git a/cpu/mpc83xx/traps.c b/cpu/mpc83xx/traps.c
index 3b09a62ac1..9d71b8b730 100644
--- a/cpu/mpc83xx/traps.c
+++ b/cpu/mpc83xx/traps.c
@@ -27,6 +27,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
#include <asm/mpc8349_pci.h>
diff --git a/cpu/mpc85xx/traps.c b/cpu/mpc85xx/traps.c
index 241ebd5657..10108d86e3 100644
--- a/cpu/mpc85xx/traps.c
+++ b/cpu/mpc85xx/traps.c
@@ -38,6 +38,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/cpu/mpc86xx/traps.c b/cpu/mpc86xx/traps.c
index ad005c3afe..406403e512 100644
--- a/cpu/mpc86xx/traps.c
+++ b/cpu/mpc86xx/traps.c
@@ -32,6 +32,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/cpu/mpc8xx/traps.c b/cpu/mpc8xx/traps.c
index f357c8d6bf..6efe8e0ea7 100644
--- a/cpu/mpc8xx/traps.c
+++ b/cpu/mpc8xx/traps.c
@@ -34,6 +34,7 @@
#include <common.h>
#include <command.h>
+#include <kgdb.h>
#include <asm/processor.h>
#if defined(CONFIG_CMD_BEDBUG)