forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
....@@ -1,17 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * omap_hwmod_2xxx_interconnect_data.c - common interconnect data for OMAP2xxx
34 *
45 * Copyright (C) 2009-2011 Nokia Corporation
56 * Paul Walmsley
67 *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- *
118 * XXX handle crossbar/shared link difference for L3?
129 * XXX these should be marked initdata for multi-OMAP kernels
1310 */
14
-#include <asm/sizes.h>
11
+#include <linux/sizes.h>
1512
1613 #include "omap_hwmod.h"
1714 #include "l3_2xxx.h"
....@@ -95,14 +92,6 @@
9592 .master = &omap2xxx_l4_core_hwmod,
9693 .slave = &omap2xxx_mcspi2_hwmod,
9794 .clk = "mcspi2_ick",
98
- .user = OCP_USER_MPU | OCP_USER_SDMA,
99
-};
100
-
101
-/* l4_core -> timer2 */
102
-struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2 = {
103
- .master = &omap2xxx_l4_core_hwmod,
104
- .slave = &omap2xxx_timer2_hwmod,
105
- .clk = "gpt2_ick",
10695 .user = OCP_USER_MPU | OCP_USER_SDMA,
10796 };
10897