ARM: OMAP2+: Make am35xx.h local
authorTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 18:40:52 +0000 (11:40 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 22:02:23 +0000 (15:02 -0700)
This can be local to mach-omap2.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/am35xx-emac.c
arch/arm/mach-omap2/am35xx.h [new file with mode: 0644]
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/board-cm-t3517.c
arch/arm/mach-omap2/include/mach/am35xx.h [deleted file]
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/usb-musb.c

index 2c90ac6866868ac97b1dc22c519a12ef2553255c..d0c54c573d3400dde7920d79e981b4f4c3982783 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/davinci_emac.h>
 #include <asm/system.h>
 #include <plat/omap_device.h>
-#include <mach/am35xx.h>
+#include "am35xx.h"
 #include "control.h"
 #include "am35xx-emac.h"
 
diff --git a/arch/arm/mach-omap2/am35xx.h b/arch/arm/mach-omap2/am35xx.h
new file mode 100644 (file)
index 0000000..9559449
--- /dev/null
@@ -0,0 +1,46 @@
+/*:
+ * Address mappings and base address for AM35XX specific interconnects
+ * and peripherals.
+ *
+ * Copyright (C) 2009 Texas Instruments
+ *
+ * Author: Sriramakrishnan <srk@ti.com>
+ *        Vaibhav Hiremath <hvaibhav@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ASM_ARCH_AM35XX_H
+#define __ASM_ARCH_AM35XX_H
+
+/*
+ * Base addresses
+ *     Note: OMAP3430 IVA2 memory space is being used for AM35xx IPSS modules
+ */
+#define AM35XX_IPSS_EMAC_BASE          0x5C000000
+#define AM35XX_IPSS_USBOTGSS_BASE      0x5C040000
+#define AM35XX_IPSS_HECC_BASE          0x5C050000
+#define AM35XX_IPSS_VPFE_BASE          0x5C060000
+
+
+/* HECC module specifc offset definitions */
+#define AM35XX_HECC_SCC_HECC_OFFSET    (0x0)
+#define AM35XX_HECC_SCC_RAM_OFFSET     (0x3000)
+#define AM35XX_HECC_RAM_OFFSET         (0x3000)
+#define AM35XX_HECC_MBOX_OFFSET                (0x2000)
+#define AM35XX_HECC_INT_LINE           (0x0)
+#define AM35XX_HECC_VERSION            (0x1)
+
+#define AM35XX_EMAC_CNTRL_OFFSET       (0x10000)
+#define AM35XX_EMAC_CNTRL_MOD_OFFSET   (0x0)
+#define AM35XX_EMAC_CNTRL_RAM_OFFSET   (0x20000)
+#define AM35XX_EMAC_MDIO_OFFSET                (0x30000)
+#define AM35XX_IPSS_MDIO_BASE          (AM35XX_IPSS_EMAC_BASE + \
+                                               AM35XX_EMAC_MDIO_OFFSET)
+#define AM35XX_EMAC_CNTRL_RAM_SIZE     (0x2000)
+#define AM35XX_EMAC_RAM_ADDR           (AM3517_EMAC_BASE + \
+                                               AM3517_EMAC_CNTRL_RAM_OFFSET)
+#define AM35XX_EMAC_HW_RAM_ADDR                (0x01E20000)
+
+#endif  /*  __ASM_ARCH_AM35XX_H */
index 403d048a00ee31e75fd8ff91e401f05629a87206..0d99c9110d01e6090a38e071813a33dc9bae2536 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/mmc/host.h>
 #include <linux/platform_data/gpio-omap.h>
 
-#include <mach/am35xx.h>
+#include "am35xx.h"
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
index 287d7392edf9e7711543b2933cb9e2f8337fa3ff..59c0a45f75b02aec82fbbb0d8ceb51a4a2879153 100644 (file)
@@ -43,7 +43,7 @@
 #include <linux/platform_data/mtd-nand-omap2.h>
 #include <plat/gpmc.h>
 
-#include <mach/am35xx.h>
+#include "am35xx.h"
 
 #include "mux.h"
 #include "control.h"
diff --git a/arch/arm/mach-omap2/include/mach/am35xx.h b/arch/arm/mach-omap2/include/mach/am35xx.h
deleted file mode 100644 (file)
index 9559449..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*:
- * Address mappings and base address for AM35XX specific interconnects
- * and peripherals.
- *
- * Copyright (C) 2009 Texas Instruments
- *
- * Author: Sriramakrishnan <srk@ti.com>
- *        Vaibhav Hiremath <hvaibhav@ti.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-#ifndef __ASM_ARCH_AM35XX_H
-#define __ASM_ARCH_AM35XX_H
-
-/*
- * Base addresses
- *     Note: OMAP3430 IVA2 memory space is being used for AM35xx IPSS modules
- */
-#define AM35XX_IPSS_EMAC_BASE          0x5C000000
-#define AM35XX_IPSS_USBOTGSS_BASE      0x5C040000
-#define AM35XX_IPSS_HECC_BASE          0x5C050000
-#define AM35XX_IPSS_VPFE_BASE          0x5C060000
-
-
-/* HECC module specifc offset definitions */
-#define AM35XX_HECC_SCC_HECC_OFFSET    (0x0)
-#define AM35XX_HECC_SCC_RAM_OFFSET     (0x3000)
-#define AM35XX_HECC_RAM_OFFSET         (0x3000)
-#define AM35XX_HECC_MBOX_OFFSET                (0x2000)
-#define AM35XX_HECC_INT_LINE           (0x0)
-#define AM35XX_HECC_VERSION            (0x1)
-
-#define AM35XX_EMAC_CNTRL_OFFSET       (0x10000)
-#define AM35XX_EMAC_CNTRL_MOD_OFFSET   (0x0)
-#define AM35XX_EMAC_CNTRL_RAM_OFFSET   (0x20000)
-#define AM35XX_EMAC_MDIO_OFFSET                (0x30000)
-#define AM35XX_IPSS_MDIO_BASE          (AM35XX_IPSS_EMAC_BASE + \
-                                               AM35XX_EMAC_MDIO_OFFSET)
-#define AM35XX_EMAC_CNTRL_RAM_SIZE     (0x2000)
-#define AM35XX_EMAC_RAM_ADDR           (AM3517_EMAC_BASE + \
-                                               AM3517_EMAC_CNTRL_RAM_OFFSET)
-#define AM35XX_EMAC_HW_RAM_ADDR                (0x01E20000)
-
-#endif  /*  __ASM_ARCH_AM35XX_H */
index a1df9d4690f7da16e3647a451088634eac5b71fd..bf46dfac01e4bd380b3cfd9969721ae357295953 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/platform_data/spi-omap2-mcspi.h>
 #include <plat/dmtimer.h>
 
-#include <mach/am35xx.h>
+#include "am35xx.h"
 
 #include "soc.h"
 #include "omap_hwmod_common_data.h"
index 89150b2435e5a4c2e95fdad2e928d2fe990ac8ef..136c64bc9028f901267d638210b3791c08d188f4 100644 (file)
@@ -28,7 +28,7 @@
 #include <plat/usb.h>
 #include <plat/omap_device.h>
 
-#include <mach/am35xx.h>
+#include "am35xx.h"
 
 #include "mux.h"