From 51c62982a33d9086fd8876293411d28a5f97247a Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Fri, 2 Jan 2009 23:17:22 +0800 Subject: [ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage Considering the header mess ATM, it is not always possible to include the correct header files within board code. Let's keep this simple: - for pxa25x based platforms - for pxa27x based platforms - for pxa300 based platforms - for pxa320 based platforms - for pxa930 based platforms NOTE: 1. one header one board file, they are not compatible (i.e. they have conflicting definitions which won't compile if included together). 2. Unless strictly necessary, the following header files are considered to be SoC files use _only_, and is not recommended to be included in board code: Signed-off-by: Eric Miao --- arch/arm/mach-pxa/am200epd.c | 2 +- arch/arm/mach-pxa/cm-x255.c | 4 +--- arch/arm/mach-pxa/cm-x270.c | 2 +- arch/arm/mach-pxa/cm-x2xx.c | 2 -- arch/arm/mach-pxa/cm-x300.c | 4 +--- arch/arm/mach-pxa/colibri.c | 4 ++-- arch/arm/mach-pxa/corgi.c | 4 +--- arch/arm/mach-pxa/corgi_pm.c | 1 - arch/arm/mach-pxa/cpufreq-pxa2xx.c | 2 -- arch/arm/mach-pxa/cpufreq-pxa3xx.c | 2 -- arch/arm/mach-pxa/devices.c | 1 - arch/arm/mach-pxa/e330.c | 4 +--- arch/arm/mach-pxa/e350.c | 4 +--- arch/arm/mach-pxa/e400.c | 4 +--- arch/arm/mach-pxa/e740.c | 4 +--- arch/arm/mach-pxa/e750.c | 4 +--- arch/arm/mach-pxa/e800.c | 4 +--- arch/arm/mach-pxa/em-x270.c | 3 +-- arch/arm/mach-pxa/eseries.c | 3 +-- arch/arm/mach-pxa/ezx.c | 10 ++++------ arch/arm/mach-pxa/gumstix.c | 6 ++---- arch/arm/mach-pxa/h5000.c | 7 ++++--- arch/arm/mach-pxa/idp.c | 3 +-- arch/arm/mach-pxa/imote2.c | 5 +---- arch/arm/mach-pxa/include/mach/pxa25x.h | 8 ++++++++ arch/arm/mach-pxa/include/mach/pxa27x.h | 19 +++++++++++++++++++ arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 20 ++------------------ arch/arm/mach-pxa/include/mach/pxa300.h | 8 ++++++++ arch/arm/mach-pxa/include/mach/pxa320.h | 9 +++++++++ arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | 2 ++ arch/arm/mach-pxa/include/mach/pxa930.h | 8 ++++++++ arch/arm/mach-pxa/include/mach/regs-ssp.h | 1 - arch/arm/mach-pxa/leds-idp.c | 2 +- arch/arm/mach-pxa/leds-lubbock.c | 2 +- arch/arm/mach-pxa/leds-mainstone.c | 2 +- arch/arm/mach-pxa/littleton.c | 3 +-- arch/arm/mach-pxa/lpd270.c | 4 +--- arch/arm/mach-pxa/lubbock.c | 4 +--- arch/arm/mach-pxa/magician.c | 5 ++--- arch/arm/mach-pxa/mainstone.c | 4 +--- arch/arm/mach-pxa/mioa701.c | 4 ++-- arch/arm/mach-pxa/mp900.c | 4 ++-- arch/arm/mach-pxa/palmld.c | 3 +-- arch/arm/mach-pxa/palmt5.c | 3 +-- arch/arm/mach-pxa/palmtx.c | 3 +-- arch/arm/mach-pxa/palmz72.c | 4 +--- arch/arm/mach-pxa/pcm027.c | 5 +---- arch/arm/mach-pxa/pcm990-baseboard.c | 3 +-- arch/arm/mach-pxa/poodle.c | 4 +--- arch/arm/mach-pxa/pxa25x.c | 4 +--- arch/arm/mach-pxa/pxa27x.c | 4 +--- arch/arm/mach-pxa/pxa2xx.c | 1 - arch/arm/mach-pxa/pxa300.c | 4 +--- arch/arm/mach-pxa/pxa320.c | 5 +---- arch/arm/mach-pxa/pxa930.c | 3 +-- arch/arm/mach-pxa/saar.c | 6 ++---- arch/arm/mach-pxa/spitz.c | 4 +--- arch/arm/mach-pxa/tavorevb.c | 5 ++--- arch/arm/mach-pxa/tosa.c | 4 ++-- arch/arm/mach-pxa/trizeps4.c | 5 +---- arch/arm/mach-pxa/viper.c | 5 +---- arch/arm/mach-pxa/zylonite_pxa300.c | 4 ++-- arch/arm/mach-pxa/zylonite_pxa320.c | 2 +- 63 files changed, 120 insertions(+), 159 deletions(-) create mode 100644 arch/arm/mach-pxa/include/mach/pxa25x.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa27x.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa300.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa320.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa930.h (limited to 'arch/arm/mach-pxa') diff --git a/arch/arm/mach-pxa/am200epd.c b/arch/arm/mach-pxa/am200epd.c index 77ee80e5e47b..3499fada73ae 100644 --- a/arch/arm/mach-pxa/am200epd.c +++ b/arch/arm/mach-pxa/am200epd.c @@ -30,8 +30,8 @@ #include #include +#include #include -#include #include #include "generic.h" diff --git a/arch/arm/mach-pxa/cm-x255.c b/arch/arm/mach-pxa/cm-x255.c index 83a4cdf08176..253fd76142d6 100644 --- a/arch/arm/mach-pxa/cm-x255.c +++ b/arch/arm/mach-pxa/cm-x255.c @@ -22,10 +22,8 @@ #include #include -#include -#include +#include #include -#include #include "generic.h" diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c index df83b97f303f..34576ba5f5fd 100644 --- a/arch/arm/mach-pxa/cm-x270.c +++ b/arch/arm/mach-pxa/cm-x270.c @@ -17,7 +17,7 @@ #include #include