ppc4xx: Move cpu/ppc4xx/vecnum.h into include path
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Tue, 8 Jan 2008 14:50:49 +0000 (15:50 +0100)
committerStefan Roese <sr@denx.de>
Wed, 9 Jan 2008 05:32:58 +0000 (06:32 +0100)
This patch allows the use of 4xx interrupt vector number defines
in board specific code outside cpu/ppc4xx.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
cpu/ppc4xx/4xx_enet.c
cpu/ppc4xx/4xx_uart.c
cpu/ppc4xx/interrupts.c
cpu/ppc4xx/iop480_uart.c
cpu/ppc4xx/usbdev.c
include/asm-ppc/ppc4xx-intvec.h [moved from cpu/ppc4xx/vecnum.h with 100% similarity]

index ff707dd..44659ff 100644 (file)
@@ -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
index ac2b12b..3d1124e 100644 (file)
@@ -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>
index 2026cc9..2f3dc32 100644 (file)
@@ -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;
 
index 8dd2267..3af0767 100644 (file)
@@ -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>
index 5924a6c..d71ba77 100644 (file)
@@ -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