From 6e9233d30afe57cb6e148fbfa4895e7810196fac Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Tue, 8 Jan 2008 15:50:49 +0100 Subject: [PATCH] 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. Signed-off-by: Matthias Fuchs --- 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 => include/asm-ppc/ppc4xx-intvec.h | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename cpu/ppc4xx/vecnum.h => include/asm-ppc/ppc4xx-intvec.h (100%) diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c index ff707dda58..44659ffcd9 100644 --- a/cpu/ppc4xx/4xx_enet.c +++ b/cpu/ppc4xx/4xx_enet.c @@ -90,7 +90,7 @@ #include <405_mal.h> #include #include -#include "vecnum.h" +#include /* * Only compile for platform with AMCC EMAC ethernet controller and diff --git a/cpu/ppc4xx/4xx_uart.c b/cpu/ppc4xx/4xx_uart.c index ac2b12b877..3d1124e0b2 100644 --- a/cpu/ppc4xx/4xx_uart.c +++ b/cpu/ppc4xx/4xx_uart.c @@ -46,7 +46,7 @@ #include #include #include -#include "vecnum.h" +#include #ifdef CONFIG_SERIAL_MULTI #include diff --git a/cpu/ppc4xx/interrupts.c b/cpu/ppc4xx/interrupts.c index 2026cc927a..2f3dc326b4 100644 --- a/cpu/ppc4xx/interrupts.c +++ b/cpu/ppc4xx/interrupts.c @@ -34,7 +34,7 @@ #include #include #include -#include "vecnum.h" +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/cpu/ppc4xx/iop480_uart.c b/cpu/ppc4xx/iop480_uart.c index 8dd226729e..3af0767c55 100644 --- a/cpu/ppc4xx/iop480_uart.c +++ b/cpu/ppc4xx/iop480_uart.c @@ -26,7 +26,7 @@ #include #include #include -#include "vecnum.h" +#include #ifdef CONFIG_SERIAL_MULTI #include diff --git a/cpu/ppc4xx/usbdev.c b/cpu/ppc4xx/usbdev.c index 5924a6cb84..d71ba7710a 100644 --- a/cpu/ppc4xx/usbdev.c +++ b/cpu/ppc4xx/usbdev.c @@ -7,7 +7,7 @@ #include #include "usbdev.h" -#include "vecnum.h" +#include #define USB_DT_DEVICE 0x01 #define USB_DT_CONFIG 0x02 diff --git a/cpu/ppc4xx/vecnum.h b/include/asm-ppc/ppc4xx-intvec.h similarity index 100% rename from cpu/ppc4xx/vecnum.h rename to include/asm-ppc/ppc4xx-intvec.h