]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Consolidate PPC4xx UIC defines
authorStefan Roese <sr@denx.de>
Wed, 25 Jun 2008 08:59:22 +0000 (10:59 +0200)
committerStefan Roese <sr@denx.de>
Fri, 11 Jul 2008 11:18:13 +0000 (13:18 +0200)
This patch is the first step to consolidate the UIC related defines in the
4xx headers. Move header from asm-ppc/ppc4xx-intvec.h to
asm-ppc/ppc4xx-uic.h as it will hold all UIC related defines in the next
steps.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/sequoia/sequoia.c
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-uic.h [moved from include/asm-ppc/ppc4xx-intvec.h with 95% similarity]
include/ppc4xx.h

index b833092f1912ef346a6fed04afd366043f166b21..87f5d5d6c1dae58a8a32ce5d628283a9efa4b5df 100644 (file)
 #include <common.h>
 #include <libfdt.h>
 #include <fdt_support.h>
-#include <ppc440.h>
+#include <ppc4xx.h>
 #include <asm/gpio.h>
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/bitops.h>
-#include <asm/ppc4xx-intvec.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 26d74d258d00fb02582a5f0fee8bcecf62514b69..47d8abc1775e68740f0e9591cf705b1d34f38138 100644 (file)
@@ -90,7 +90,6 @@
 #include <405_mal.h>
 #include <miiphy.h>
 #include <malloc.h>
-#include <asm/ppc4xx-intvec.h>
 
 /*
  * Only compile for platform with AMCC EMAC ethernet controller and
index a7587d4351fa1773926006827ef707d9214166f2..766e586808b69fab138472b0c4c313492d05e9db 100644 (file)
@@ -46,7 +46,7 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <watchdog.h>
-#include <asm/ppc4xx-intvec.h>
+#include <ppc4xx.h>
 
 #ifdef CONFIG_SERIAL_MULTI
 #include <serial.h>
index 8620e2b48476da48b2ad97f905f1ef9cd562f2a7..eb9cb1d397b79c377fb231758e57f752f89bd1bb 100644 (file)
@@ -34,7 +34,6 @@
 #include <ppc4xx.h>
 #include <ppc_asm.tmpl>
 #include <commproc.h>
-#include <asm/ppc4xx-intvec.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 3af0767c552c47a63bac663c84ff1418ad566b45..0e3423f7abba2a9015cc4c0ebc49b32063795211 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <watchdog.h>
-#include <asm/ppc4xx-intvec.h>
 
 #ifdef CONFIG_SERIAL_MULTI
 #include <serial.h>
index d71ba7710a0e54df87560f0be66ce773021a4376..27e6a4056c9e6aa19fd792912f3d2bcd1fe90fff 100644 (file)
@@ -6,8 +6,8 @@
 #if (defined(CONFIG_440EP) || defined(CONFIG_440EPX)) && defined(CONFIG_CMD_USB)
 
 #include <usb.h>
+#include <asm/ppc4xx-uic.h>
 #include "usbdev.h"
-#include <asm/ppc4xx-intvec.h>
 
 #define USB_DT_DEVICE        0x01
 #define USB_DT_CONFIG        0x02
similarity index 95%
rename from include/asm-ppc/ppc4xx-intvec.h
rename to include/asm-ppc/ppc4xx-uic.h
index 5b45de4335df4a9517a5ad05b3505b7bce61e1cf..1573b1eab184ab61c1a673f021de123c61234cef 100644 (file)
@@ -1,35 +1,30 @@
 /*
-*  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
-*
-* See file CREDITS for list of people who contributed to this
-* project.
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License as
-* published by the Free Software Foundation; either version 2 of
-* the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-* MA 02111-1307 USA
-*/
-
-/*
- * Interrupt vector number definitions to ease the
- * 405 -- 440 porting pain ;-)
+ *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
+ *
+ * (C) Copyright 2008
+ * Stefan Roese, DENX Software Engineering, sr@denx.de.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
  *
- * NOTE: They're not all here yet ... update as needed.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
+ * GNU General Public License for more details.
  *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
  */
 
-#ifndef _VECNUMS_H_
-#define _VECNUMS_H_
+#ifndef _PPC4xx_UIC_H_
+#define _PPC4xx_UIC_H_
 
 #if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
 
 
 #endif /* defined(CONFIG_440) */
 
-#endif /* _VECNUMS_H_ */
+#endif /* _PPC4xx_UIC_H_ */
index ca0636ca8534074e5fae5c4066d0bc59bc307839..d593b072fcdf603a4b26f8eb443ee4875cef7771 100644 (file)
@@ -54,6 +54,7 @@
 
 #include <asm/ppc4xx-sdram.h>
 #include <asm/ppc4xx-ebc.h>
+#include <asm/ppc4xx-uic.h>
 
 /*
  * Macro for generating register field mnemonics