diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-01-02 10:17:22 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 09:22:36 -0400 |
commit | 51c62982a33d9086fd8876293411d28a5f97247a (patch) | |
tree | c3f0dd5cb7dfd20c17d307c7a7ab851217cef5ee /arch/arm/mach-pxa/gumstix.c | |
parent | 5b079b5ab4cfc6d23312b3bb0203f527bb1f79d0 (diff) |
[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:
<mach/pxa25x.h> - for pxa25x based platforms
<mach/pxa27x.h> - for pxa27x based platforms
<mach/pxa300.h> - for pxa300 based platforms
<mach/pxa320.h> - for pxa320 based platforms
<mach/pxa930.h> - 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:
<mach/hardware.h>
<mach/pxa-regs.h>
<mach/pxa2xx-regs.h>
<mach/pxa3xx-regs.h>
<mach/mfp.h>
<mach/mfp-pxa2xx.h>
<mach/mfp-pxa25x.h>
<mach/mfp-pxa27x.h>
<mach/mfp-pxa3xx.h>
<mach/mfp-pxa300.h>
<mach/mfp-pxa320.h>
<mach/mfp-pxa930.h>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/gumstix.c')
-rw-r--r-- | arch/arm/mach-pxa/gumstix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/gumstix.c b/arch/arm/mach-pxa/gumstix.c index 9cb4a074d9f0..ca9912ea78d9 100644 --- a/arch/arm/mach-pxa/gumstix.c +++ b/arch/arm/mach-pxa/gumstix.c | |||
@@ -38,14 +38,12 @@ | |||
38 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
39 | #include <asm/mach/irq.h> | 39 | #include <asm/mach/irq.h> |
40 | #include <asm/mach/flash.h> | 40 | #include <asm/mach/flash.h> |
41 | |||
42 | #include <mach/pxa25x.h> | ||
41 | #include <mach/mmc.h> | 43 | #include <mach/mmc.h> |
42 | #include <mach/udc.h> | 44 | #include <mach/udc.h> |
43 | #include <mach/gumstix.h> | 45 | #include <mach/gumstix.h> |
44 | 46 | ||
45 | #include <mach/pxa-regs.h> | ||
46 | #include <mach/pxa2xx-regs.h> | ||
47 | #include <mach/mfp-pxa25x.h> | ||
48 | |||
49 | #include "generic.h" | 47 | #include "generic.h" |
50 | 48 | ||
51 | static struct resource flash_resource = { | 49 | static struct resource flash_resource = { |