diff options
author | Tony Lindgren <tony@atomide.com> | 2017-03-14 16:13:19 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-03-14 16:13:19 -0400 |
commit | ca5339b18c6b0a94d869ef72861bc8423c788ad0 (patch) | |
tree | 29bb866be268f7d1a3a210a4fb20bc7c9234b657 | |
parent | b8e1bddc9826c08ba479a785ea3c212ed6f54ef8 (diff) |
ARM: OMAP2+: Remove unused CLOCKACT_TEST_ICLK
This is not used so let's remove it.
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 1 |
7 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 33b36c392210..8a4039325845 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1328,7 +1328,7 @@ static void _enable_sysc(struct omap_hwmod *oh) | |||
1328 | */ | 1328 | */ |
1329 | if ((oh->flags & HWMOD_SET_DEFAULT_CLOCKACT) && | 1329 | if ((oh->flags & HWMOD_SET_DEFAULT_CLOCKACT) && |
1330 | (sf & SYSC_HAS_CLOCKACTIVITY)) | 1330 | (sf & SYSC_HAS_CLOCKACTIVITY)) |
1331 | _set_clockactivity(oh, oh->class->sysc->clockact, &v); | 1331 | _set_clockactivity(oh, CLOCKACT_TEST_ICLK, &v); |
1332 | 1332 | ||
1333 | _write_sysconfig(v, oh); | 1333 | _write_sysconfig(v, oh); |
1334 | 1334 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index 03d5560d0ecd..e0f0d9860875 100644 --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h | |||
@@ -411,7 +411,6 @@ struct omap_hwmod_class_sysconfig { | |||
411 | struct omap_hwmod_sysc_fields *sysc_fields; | 411 | struct omap_hwmod_sysc_fields *sysc_fields; |
412 | u8 srst_udelay; | 412 | u8 srst_udelay; |
413 | u8 idlemodes; | 413 | u8 idlemodes; |
414 | u8 clockact; | ||
415 | }; | 414 | }; |
416 | 415 | ||
417 | /** | 416 | /** |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c index e047033caa3e..d190f1ad97b7 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | |||
@@ -55,7 +55,6 @@ static struct omap_hwmod_class_sysconfig omap2xxx_timer_sysc = { | |||
55 | SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET | | 55 | SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET | |
56 | SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS), | 56 | SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS), |
57 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | 57 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
58 | .clockact = CLOCKACT_TEST_ICLK, | ||
59 | .sysc_fields = &omap_hwmod_sysc_type1, | 58 | .sysc_fields = &omap_hwmod_sysc_type1, |
60 | }; | 59 | }; |
61 | 60 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 56f917ec8621..a7a6b21fe32f 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -149,7 +149,6 @@ static struct omap_hwmod_class_sysconfig omap3xxx_timer_sysc = { | |||
149 | SYSC_HAS_EMUFREE | SYSC_HAS_AUTOIDLE | | 149 | SYSC_HAS_EMUFREE | SYSC_HAS_AUTOIDLE | |
150 | SYSS_HAS_RESET_STATUS), | 150 | SYSS_HAS_RESET_STATUS), |
151 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | 151 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
152 | .clockact = CLOCKACT_TEST_ICLK, | ||
153 | .sysc_fields = &omap_hwmod_sysc_type1, | 152 | .sysc_fields = &omap_hwmod_sysc_type1, |
154 | }; | 153 | }; |
155 | 154 | ||
@@ -424,7 +423,6 @@ static struct omap_hwmod_class_sysconfig i2c_sysc = { | |||
424 | SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET | | 423 | SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET | |
425 | SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS), | 424 | SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS), |
426 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | 425 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
427 | .clockact = CLOCKACT_TEST_ICLK, | ||
428 | .sysc_fields = &omap_hwmod_sysc_type1, | 426 | .sysc_fields = &omap_hwmod_sysc_type1, |
429 | }; | 427 | }; |
430 | 428 | ||
@@ -1045,7 +1043,6 @@ static struct omap_hwmod_class_sysconfig omap3xxx_mcbsp_sysc = { | |||
1045 | SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET), | 1043 | SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET), |
1046 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | 1044 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
1047 | .sysc_fields = &omap_hwmod_sysc_type1, | 1045 | .sysc_fields = &omap_hwmod_sysc_type1, |
1048 | .clockact = 0x2, | ||
1049 | }; | 1046 | }; |
1050 | 1047 | ||
1051 | static struct omap_hwmod_class omap3xxx_mcbsp_hwmod_class = { | 1048 | static struct omap_hwmod_class omap3xxx_mcbsp_hwmod_class = { |
@@ -1210,7 +1207,6 @@ static struct omap_hwmod_sysc_fields omap34xx_sr_sysc_fields = { | |||
1210 | static struct omap_hwmod_class_sysconfig omap34xx_sr_sysc = { | 1207 | static struct omap_hwmod_class_sysconfig omap34xx_sr_sysc = { |
1211 | .sysc_offs = 0x24, | 1208 | .sysc_offs = 0x24, |
1212 | .sysc_flags = (SYSC_HAS_CLOCKACTIVITY | SYSC_NO_CACHE), | 1209 | .sysc_flags = (SYSC_HAS_CLOCKACTIVITY | SYSC_NO_CACHE), |
1213 | .clockact = CLOCKACT_TEST_ICLK, | ||
1214 | .sysc_fields = &omap34xx_sr_sysc_fields, | 1210 | .sysc_fields = &omap34xx_sr_sysc_fields, |
1215 | }; | 1211 | }; |
1216 | 1212 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index dad871a4cd96..94f09c720f29 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -1320,7 +1320,6 @@ static struct omap_hwmod_class_sysconfig omap44xx_i2c_sysc = { | |||
1320 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), | 1320 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), |
1321 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | | 1321 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | |
1322 | SIDLE_SMART_WKUP), | 1322 | SIDLE_SMART_WKUP), |
1323 | .clockact = CLOCKACT_TEST_ICLK, | ||
1324 | .sysc_fields = &omap_hwmod_sysc_type1, | 1323 | .sysc_fields = &omap_hwmod_sysc_type1, |
1325 | }; | 1324 | }; |
1326 | 1325 | ||
@@ -2548,7 +2547,6 @@ static struct omap_hwmod_class_sysconfig omap44xx_timer_1ms_sysc = { | |||
2548 | SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | | 2547 | SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | |
2549 | SYSS_HAS_RESET_STATUS), | 2548 | SYSS_HAS_RESET_STATUS), |
2550 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | 2549 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
2551 | .clockact = CLOCKACT_TEST_ICLK, | ||
2552 | .sysc_fields = &omap_hwmod_sysc_type1, | 2550 | .sysc_fields = &omap_hwmod_sysc_type1, |
2553 | }; | 2551 | }; |
2554 | 2552 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c index a2d763a4cc57..9a67f013ebad 100644 --- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c | |||
@@ -839,7 +839,6 @@ static struct omap_hwmod_class_sysconfig omap54xx_i2c_sysc = { | |||
839 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), | 839 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), |
840 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | | 840 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | |
841 | SIDLE_SMART_WKUP), | 841 | SIDLE_SMART_WKUP), |
842 | .clockact = CLOCKACT_TEST_ICLK, | ||
843 | .sysc_fields = &omap_hwmod_sysc_type1, | 842 | .sysc_fields = &omap_hwmod_sysc_type1, |
844 | }; | 843 | }; |
845 | 844 | ||
@@ -1530,7 +1529,6 @@ static struct omap_hwmod_class_sysconfig omap54xx_timer_1ms_sysc = { | |||
1530 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | | 1529 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | |
1531 | SIDLE_SMART_WKUP), | 1530 | SIDLE_SMART_WKUP), |
1532 | .sysc_fields = &omap_hwmod_sysc_type2, | 1531 | .sysc_fields = &omap_hwmod_sysc_type2, |
1533 | .clockact = CLOCKACT_TEST_ICLK, | ||
1534 | }; | 1532 | }; |
1535 | 1533 | ||
1536 | static struct omap_hwmod_class omap54xx_timer_1ms_hwmod_class = { | 1534 | static struct omap_hwmod_class omap54xx_timer_1ms_hwmod_class = { |
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index d0585293a381..a6a193350246 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c | |||
@@ -1098,7 +1098,6 @@ static struct omap_hwmod_class_sysconfig dra7xx_i2c_sysc = { | |||
1098 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), | 1098 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), |
1099 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | | 1099 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | |
1100 | SIDLE_SMART_WKUP), | 1100 | SIDLE_SMART_WKUP), |
1101 | .clockact = CLOCKACT_TEST_ICLK, | ||
1102 | .sysc_fields = &omap_hwmod_sysc_type1, | 1101 | .sysc_fields = &omap_hwmod_sysc_type1, |
1103 | }; | 1102 | }; |
1104 | 1103 | ||