From: Matthias Fuchs Date: Tue, 8 Jan 2008 14:50:49 +0000 (+0100) Subject: ppc4xx: Move cpu/ppc4xx/vecnum.h into include path X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6e9233d30afe57cb6e148fbfa4895e7810196fac;p=u-boot.git 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 --- 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