]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: OMAP2+: Make l4_2xxx.h local
authorTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 18:42:07 +0000 (11:42 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2012 22:04:01 +0000 (15:04 -0700)
This can be local to mach-omap2.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/l4_2xxx.h [new file with mode: 0644]
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
arch/arm/plat-omap/include/plat/l4_2xxx.h [deleted file]

diff --git a/arch/arm/mach-omap2/l4_2xxx.h b/arch/arm/mach-omap2/l4_2xxx.h
new file mode 100644 (file)
index 0000000..3f39cf8
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * arch/arm/plat-omap/include/plat/l4_2xxx.h - L4 firewall definitions
+ *
+ * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ *     Sumit Semwal
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ */
+#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H
+#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H
+
+/* L4 CORE */
+/* Display Sub system (DSS) */
+#define OMAP2420_L4_CORE_FW_DSS_CORE_REGION                    28
+#define OMAP2420_L4_CORE_FW_DSS_DISPC_REGION                   29
+#define OMAP2420_L4_CORE_FW_DSS_RFBI_REGION                    30
+#define OMAP2420_L4_CORE_FW_DSS_VENC_REGION                    31
+#define OMAP2420_L4_CORE_FW_DSS_TA_REGION                      32
+
+#endif
index 4802ab92bf5fef43e725425ab09687e52202d21a..10575a1bc1f1fa468c7b728702bf66dd4258c4f7 100644 (file)
@@ -20,7 +20,7 @@
 #include <plat/i2c.h>
 #include <plat/dmtimer.h>
 #include "l3_2xxx.h"
-#include <plat/l4_2xxx.h>
+#include "l4_2xxx.h"
 #include <plat/mmc.h>
 
 #include "omap_hwmod_common_data.h"
index 4d1572e8c67f268911b3e557752fc02547ed818d..f853a0b1d5ca998790c9d34f0335e9b45c026d97 100644 (file)
@@ -16,7 +16,7 @@
 #include <plat/omap_hwmod.h>
 #include <plat/serial.h>
 #include "l3_2xxx.h"
-#include <plat/l4_2xxx.h>
+#include "l4_2xxx.h"
 
 #include "omap_hwmod_common_data.h"
 
diff --git a/arch/arm/plat-omap/include/plat/l4_2xxx.h b/arch/arm/plat-omap/include/plat/l4_2xxx.h
deleted file mode 100644 (file)
index 3f39cf8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * arch/arm/plat-omap/include/plat/l4_2xxx.h - L4 firewall definitions
- *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
- *     Sumit Semwal
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- */
-#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H
-#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H
-
-/* L4 CORE */
-/* Display Sub system (DSS) */
-#define OMAP2420_L4_CORE_FW_DSS_CORE_REGION                    28
-#define OMAP2420_L4_CORE_FW_DSS_DISPC_REGION                   29
-#define OMAP2420_L4_CORE_FW_DSS_RFBI_REGION                    30
-#define OMAP2420_L4_CORE_FW_DSS_VENC_REGION                    31
-#define OMAP2420_L4_CORE_FW_DSS_TA_REGION                      32
-
-#endif