diff options
author | Tony Lindgren <tony@atomide.com> | 2012-08-31 20:04:35 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-12 21:06:31 -0400 |
commit | 68cb700c59fae6cd539c9dc1e9f2584f671935a0 (patch) | |
tree | 181ed137e216c7ee8c731eba9dbc4a9e84ef1530 | |
parent | c49f34bc25900c3c6638fed0987c9abea3c212ea (diff) |
ARM: OMAP1: Move SoC specific headers from plat to mach for omap1
There's no need to have these in plat-omap any longer. Note that these
could eventually be made local to mach-omap1 instead of being in mach.
But to do that, at least various driver access using omap7xxx.h registers
needs to be fixed first.
Cc: spi-devel-general@lists.sourceforge.net
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap1/board-htcherald.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/include/mach/hardware.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap1/include/mach/omap1510.h (renamed from arch/arm/plat-omap/include/plat/omap1510.h) | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap1/include/mach/omap16xx.h (renamed from arch/arm/plat-omap/include/plat/omap16xx.h) | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap1/include/mach/omap7xx.h (renamed from arch/arm/plat-omap/include/plat/omap7xx.h) | 3 | ||||
-rw-r--r-- | drivers/spi/spi-omap-uwire.c | 3 |
7 files changed, 10 insertions, 12 deletions
diff --git a/arch/arm/mach-omap1/board-htcherald.c b/arch/arm/mach-omap1/board-htcherald.c index b9771b5a5f7b..a5ac352d68d3 100644 --- a/arch/arm/mach-omap1/board-htcherald.c +++ b/arch/arm/mach-omap1/board-htcherald.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <asm/mach-types.h> | 41 | #include <asm/mach-types.h> |
42 | #include <asm/mach/arch.h> | 42 | #include <asm/mach/arch.h> |
43 | 43 | ||
44 | #include <plat/omap7xx.h> | 44 | #include <mach/omap7xx.h> |
45 | #include <plat/keypad.h> | 45 | #include <plat/keypad.h> |
46 | #include <plat/mmc.h> | 46 | #include <plat/mmc.h> |
47 | 47 | ||
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 1feca354ce08..05fdbd992c77 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <plat/mux.h> | 23 | #include <plat/mux.h> |
24 | #include <plat/dma.h> | 24 | #include <plat/dma.h> |
25 | #include <plat/mmc.h> | 25 | #include <plat/mmc.h> |
26 | #include <plat/omap7xx.h> | ||
27 | 26 | ||
27 | #include <mach/omap7xx.h> | ||
28 | #include <mach/camera.h> | 28 | #include <mach/camera.h> |
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | 30 | ||
diff --git a/arch/arm/mach-omap1/include/mach/hardware.h b/arch/arm/mach-omap1/include/mach/hardware.h index bd3b95e1cb02..84248d250adb 100644 --- a/arch/arm/mach-omap1/include/mach/hardware.h +++ b/arch/arm/mach-omap1/include/mach/hardware.h | |||
@@ -311,8 +311,8 @@ static inline u32 omap_cs3_phys(void) | |||
311 | * --------------------------------------------------------------------------- | 311 | * --------------------------------------------------------------------------- |
312 | */ | 312 | */ |
313 | 313 | ||
314 | #include <plat/omap7xx.h> | 314 | #include "omap7xx.h" |
315 | #include <plat/omap1510.h> | 315 | #include "omap1510.h" |
316 | #include <plat/omap16xx.h> | 316 | #include "omap16xx.h" |
317 | 317 | ||
318 | #endif /* __ASM_ARCH_OMAP_HARDWARE_H */ | 318 | #endif /* __ASM_ARCH_OMAP_HARDWARE_H */ |
diff --git a/arch/arm/plat-omap/include/plat/omap1510.h b/arch/arm/mach-omap1/include/mach/omap1510.h index d24004668138..8fe05d6137c0 100644 --- a/arch/arm/plat-omap/include/plat/omap1510.h +++ b/arch/arm/mach-omap1/include/mach/omap1510.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-omap/include/mach/omap1510.h | 1 | /* |
2 | * | ||
3 | * Hardware definitions for TI OMAP1510 processor. | 2 | * Hardware definitions for TI OMAP1510 processor. |
4 | * | 3 | * |
5 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> | 4 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> |
diff --git a/arch/arm/plat-omap/include/plat/omap16xx.h b/arch/arm/mach-omap1/include/mach/omap16xx.h index e69e1d857b45..cd1c724869c7 100644 --- a/arch/arm/plat-omap/include/plat/omap16xx.h +++ b/arch/arm/mach-omap1/include/mach/omap16xx.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-omap/include/mach/omap16xx.h | 1 | /* |
2 | * | ||
3 | * Hardware definitions for TI OMAP1610/5912/1710 processors. | 2 | * Hardware definitions for TI OMAP1610/5912/1710 processors. |
4 | * | 3 | * |
5 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> | 4 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> |
diff --git a/arch/arm/plat-omap/include/plat/omap7xx.h b/arch/arm/mach-omap1/include/mach/omap7xx.h index 48e4757e1e30..63da994bc609 100644 --- a/arch/arm/plat-omap/include/plat/omap7xx.h +++ b/arch/arm/mach-omap1/include/mach/omap7xx.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-omap/include/mach/omap7xx.h | 1 | /* |
2 | * | ||
3 | * Hardware definitions for TI OMAP7XX processor. | 2 | * Hardware definitions for TI OMAP7XX processor. |
4 | * | 3 | * |
5 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> | 4 | * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com> |
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c index 9b0d71696039..a3996a1c6345 100644 --- a/drivers/spi/spi-omap-uwire.c +++ b/drivers/spi/spi-omap-uwire.c | |||
@@ -53,7 +53,8 @@ | |||
53 | #include <asm/mach-types.h> | 53 | #include <asm/mach-types.h> |
54 | 54 | ||
55 | #include <plat/mux.h> | 55 | #include <plat/mux.h> |
56 | #include <plat/omap7xx.h> /* OMAP7XX_IO_CONF registers */ | 56 | |
57 | #include <mach/omap7xx.h> /* OMAP7XX_IO_CONF registers */ | ||
57 | 58 | ||
58 | 59 | ||
59 | /* FIXME address is now a platform device resource, | 60 | /* FIXME address is now a platform device resource, |