]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP1: Move SoC specific headers from plat to mach for omap1
authorTony Lindgren <tony@atomide.com>
Sat, 1 Sep 2012 00:04:35 +0000 (17:04 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Sep 2012 01:06:31 +0000 (18:06 -0700)
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>
arch/arm/mach-omap1/board-htcherald.c
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/include/mach/hardware.h
arch/arm/mach-omap1/include/mach/omap1510.h [moved from arch/arm/plat-omap/include/plat/omap1510.h with 97% similarity]
arch/arm/mach-omap1/include/mach/omap16xx.h [moved from arch/arm/plat-omap/include/plat/omap16xx.h with 99% similarity]
arch/arm/mach-omap1/include/mach/omap7xx.h [moved from arch/arm/plat-omap/include/plat/omap7xx.h with 98% similarity]
drivers/spi/spi-omap-uwire.c

index b9771b5a5f7b934ba61aa3be70533130d9f7bb24..a5ac352d68d378cc91146e32e83879576e443731 100644 (file)
@@ -41,7 +41,7 @@
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
-#include <plat/omap7xx.h>
+#include <mach/omap7xx.h>
 #include <plat/keypad.h>
 #include <plat/mmc.h>
 
index 1feca354ce088751f26efeac41812b5982184906..05fdbd992c778eb044c6ec50911badcde887b35a 100644 (file)
@@ -23,8 +23,8 @@
 #include <plat/mux.h>
 #include <plat/dma.h>
 #include <plat/mmc.h>
-#include <plat/omap7xx.h>
 
+#include <mach/omap7xx.h>
 #include <mach/camera.h>
 #include <mach/hardware.h>
 
index bd3b95e1cb0216103aedfac4c5c82d39e676f8a0..84248d250adb8eeda35da1093eb7a19f70cfb6f0 100644 (file)
@@ -311,8 +311,8 @@ static inline u32 omap_cs3_phys(void)
  * ---------------------------------------------------------------------------
  */
 
-#include <plat/omap7xx.h>
-#include <plat/omap1510.h>
-#include <plat/omap16xx.h>
+#include "omap7xx.h"
+#include "omap1510.h"
+#include "omap16xx.h"
 
 #endif /* __ASM_ARCH_OMAP_HARDWARE_H */
similarity index 97%
rename from arch/arm/plat-omap/include/plat/omap1510.h
rename to arch/arm/mach-omap1/include/mach/omap1510.h
index d240046681381e071f98f1187d425b119e7b7594..8fe05d6137c0abfaf2a7d8f1c2ec9125e5ff6087 100644 (file)
@@ -1,5 +1,4 @@
-/* arch/arm/plat-omap/include/mach/omap1510.h
- *
+/*
  * Hardware definitions for TI OMAP1510 processor.
  *
  * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
similarity index 99%
rename from arch/arm/plat-omap/include/plat/omap16xx.h
rename to arch/arm/mach-omap1/include/mach/omap16xx.h
index e69e1d857b45dbfca155e01c78b525287376f289..cd1c724869c7eff671e9c43c559c08998d3fde56 100644 (file)
@@ -1,5 +1,4 @@
-/* arch/arm/plat-omap/include/mach/omap16xx.h
- *
+/*
  * Hardware definitions for TI OMAP1610/5912/1710 processors.
  *
  * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
similarity index 98%
rename from arch/arm/plat-omap/include/plat/omap7xx.h
rename to arch/arm/mach-omap1/include/mach/omap7xx.h
index 48e4757e1e301cc0558e2a965b2c9ba801d28a0d..63da994bc609305192b71ea37eae754f03f2be60 100644 (file)
@@ -1,5 +1,4 @@
-/* arch/arm/plat-omap/include/mach/omap7xx.h
- *
+/*
  * Hardware definitions for TI OMAP7XX processor.
  *
  * Cleanup for Linux-2.6 by Dirk Behme <dirk.behme@de.bosch.com>
index 9b0d716960394a21c69f22ea74a1ed33958de62e..a3996a1c63459a67d66e0d4d2fb63f6b14f0ad13 100644 (file)
@@ -53,7 +53,8 @@
 #include <asm/mach-types.h>
 
 #include <plat/mux.h>
-#include <plat/omap7xx.h>      /* OMAP7XX_IO_CONF registers */
+
+#include <mach/omap7xx.h>      /* OMAP7XX_IO_CONF registers */
 
 
 /* FIXME address is now a platform device resource,