From 3c7db1beace50a95c2f32f80552dc7c7aca5561b Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Thu, 4 Aug 2011 22:05:09 +1000 Subject: [PATCH] x86: Rename include/asm/ic to include/asm/arch-sc520 Also include some trivial related cleanups --- arch/x86/cpu/sc520/sc520.c | 2 +- arch/x86/cpu/sc520/sc520_car.S | 2 +- arch/x86/cpu/sc520/sc520_pci.c | 4 ++-- arch/x86/cpu/sc520/sc520_reset.c | 2 +- arch/x86/cpu/sc520/sc520_sdram.c | 2 +- arch/x86/cpu/sc520/sc520_ssi.c | 4 ++-- arch/x86/cpu/sc520/sc520_timer.c | 2 +- arch/x86/include/asm/{ic => arch-sc520}/pci.h | 0 arch/x86/include/asm/{ic => arch-sc520}/sc520.h | 0 arch/x86/include/asm/{ic => arch-sc520}/ssi.h | 0 arch/x86/lib/zimage.c | 1 - board/eNET/eNET.c | 2 +- board/eNET/eNET_pci.c | 2 +- board/eNET/eNET_start16.S | 4 +--- 14 files changed, 12 insertions(+), 15 deletions(-) rename arch/x86/include/asm/{ic => arch-sc520}/pci.h (100%) rename arch/x86/include/asm/{ic => arch-sc520}/sc520.h (100%) rename arch/x86/include/asm/{ic => arch-sc520}/ssi.h (100%) diff --git a/arch/x86/cpu/sc520/sc520.c b/arch/x86/cpu/sc520/sc520.c index e37c4037dd..4892c0153f 100644 --- a/arch/x86/cpu/sc520/sc520.c +++ b/arch/x86/cpu/sc520/sc520.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/sc520/sc520_car.S b/arch/x86/cpu/sc520/sc520_car.S index a33f94f491..7cac4d1def 100644 --- a/arch/x86/cpu/sc520/sc520_car.S +++ b/arch/x86/cpu/sc520/sc520_car.S @@ -23,7 +23,7 @@ #include #include -#include +#include .section .text diff --git a/arch/x86/cpu/sc520/sc520_pci.c b/arch/x86/cpu/sc520/sc520_pci.c index 32d4802eba..e26793ab1b 100644 --- a/arch/x86/cpu/sc520/sc520_pci.c +++ b/arch/x86/cpu/sc520/sc520_pci.c @@ -28,8 +28,8 @@ #include #include #include -#include -#include +#include +#include static struct { u8 priority; diff --git a/arch/x86/cpu/sc520/sc520_reset.c b/arch/x86/cpu/sc520/sc520_reset.c index 18890c3a53..137af978c1 100644 --- a/arch/x86/cpu/sc520/sc520_reset.c +++ b/arch/x86/cpu/sc520/sc520_reset.c @@ -26,7 +26,7 @@ #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/sc520/sc520_sdram.c b/arch/x86/cpu/sc520/sc520_sdram.c index f3623f53f2..57e4e7ddc3 100644 --- a/arch/x86/cpu/sc520/sc520_sdram.c +++ b/arch/x86/cpu/sc520/sc520_sdram.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/x86/cpu/sc520/sc520_ssi.c b/arch/x86/cpu/sc520/sc520_ssi.c index 47aa80bfce..3a6a858091 100644 --- a/arch/x86/cpu/sc520/sc520_ssi.c +++ b/arch/x86/cpu/sc520/sc520_ssi.c @@ -23,8 +23,8 @@ #include #include -#include -#include +#include +#include int ssi_set_interface(int freq, int lsb_first, int inv_clock, int inv_phase) { diff --git a/arch/x86/cpu/sc520/sc520_timer.c b/arch/x86/cpu/sc520/sc520_timer.c index 5cccda1f28..05bc9c1103 100644 --- a/arch/x86/cpu/sc520/sc520_timer.c +++ b/arch/x86/cpu/sc520/sc520_timer.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include void sc520_timer_isr(void) { diff --git a/arch/x86/include/asm/ic/pci.h b/arch/x86/include/asm/arch-sc520/pci.h similarity index 100% rename from arch/x86/include/asm/ic/pci.h rename to arch/x86/include/asm/arch-sc520/pci.h diff --git a/arch/x86/include/asm/ic/sc520.h b/arch/x86/include/asm/arch-sc520/sc520.h similarity index 100% rename from arch/x86/include/asm/ic/sc520.h rename to arch/x86/include/asm/arch-sc520/sc520.h diff --git a/arch/x86/include/asm/ic/ssi.h b/arch/x86/include/asm/arch-sc520/ssi.h similarity index 100% rename from arch/x86/include/asm/ic/ssi.h rename to arch/x86/include/asm/arch-sc520/ssi.h diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c index 6682e0de58..d2dd6fd449 100644 --- a/arch/x86/lib/zimage.c +++ b/arch/x86/lib/zimage.c @@ -35,7 +35,6 @@ #include #include #include -#include /* * Memory lay-out: diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 2a5636c073..c4ed82029d 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include diff --git a/board/eNET/eNET_pci.c b/board/eNET/eNET_pci.c index d97387ecd7..29d13d2518 100644 --- a/board/eNET/eNET_pci.c +++ b/board/eNET/eNET_pci.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include static void pci_enet_fixup_irq(struct pci_controller *hose, pci_dev_t dev) { diff --git a/board/eNET/eNET_start16.S b/board/eNET/eNET_start16.S index 77e5519640..4241f6e104 100644 --- a/board/eNET/eNET_start16.S +++ b/board/eNET/eNET_start16.S @@ -27,11 +27,9 @@ * that is used by U-boot to its final destination. */ -/* #include */ - #include "config.h" #include "hardware.h" -#include +#include .text .section .start16, "ax" -- 2.39.5