Skip to contentSkip to conversation

ppc4xx: Move cpu/ppc4xx/vecnum.h into include path

PATCH New Matthias Fuchs 1 participant 1 message Jan 8, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 ppc4xx: Move cpu/ppc4xx/vecnum.h into include path

This patch allows the use of 4xx interrupt vector number defines in board specific code outside cpu/ppc4xx.

---
 cpu/ppc4xx/4xx_enet.c           |    2 +-
 cpu/ppc4xx/4xx_uart.c           |    2 +-
 cpu/ppc4xx/interrupts.c         |    2 +-
 cpu/ppc4xx/iop480_uart.c        |    2 +-
 cpu/ppc4xx/usbdev.c             |    2 +-
 cpu/ppc4xx/vecnum.h             |  403 ---------------------------------------
 include/asm-ppc/ppc4xx-intvec.h |  403 +++++++++++++++++++++++++++++++++++++++
 7 files changed, 408 insertions(+), 408 deletions(-)
 delete mode 100644 cpu/ppc4xx/vecnum.h
 create mode 100644 include/asm-ppc/ppc4xx-intvec.h
cpu/ppc4xx/4xx_enet.c +1 -1
index bfe0864..6181c55 100644
@@ -90,7 +90,7 @@
 #include <405_mal.h>
 #include <miiphy.h>
 #include <malloc.h>
-#include "vecnum.h"
+#include <asm/ppc4xx-intvec.h>
 
 /*
  * Only compile for platform with AMCC EMAC ethernet controller and
cpu/ppc4xx/4xx_uart.c +1 -1
index ac2b12b..3d1124e 100644
@@ -46,7 +46,7 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <watchdog.h>
-#include "vecnum.h"
+#include <asm/ppc4xx-intvec.h>
 
 #ifdef CONFIG_SERIAL_MULTI
 #include <serial.h>
cpu/ppc4xx/interrupts.c +1 -1
index 2026cc9..2f3dc32 100644
@@ -34,7 +34,7 @@
 #include <ppc4xx.h>
 #include <ppc_asm.tmpl>
 #include <commproc.h>
-#include "vecnum.h"
+#include <asm/ppc4xx-intvec.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
cpu/ppc4xx/iop480_uart.c +1 -1
index 8dd2267..3af0767 100644
@@ -26,7 +26,7 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <watchdog.h>
-#include "vecnum.h"
+#include <asm/ppc4xx-intvec.h>
 
 #ifdef CONFIG_SERIAL_MULTI
 #include <serial.h>
cpu/ppc4xx/usbdev.c +1 -1
index 5924a6c..d71ba77 100644
@@ -7,7 +7,7 @@
 
 #include <usb.h>
 #include "usbdev.h"
-#include "vecnum.h"
+#include <asm/ppc4xx-intvec.h>
 
 #define USB_DT_DEVICE        0x01
 #define USB_DT_CONFIG        0x02
cpu/ppc4xx/vecnum.h deleted +0 -403

403 lines not on this page · raw message

include/asm-ppc/ppc4xx-intvec.h new file +403 -0

403 lines not on this page · raw message

Signature · 1 line
1.5.3