aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAbhilash K V <abhilash.kv@ti.com>2011-10-07 05:08:56 -0400
committerPaul Walmsley <paul@pwsan.com>2011-10-07 05:16:16 -0400
commit7e89098cd63a188932043258d54688e965750e2c (patch)
tree89cda4e7f64f68c7124cefab4eb93360030601dc /arch
parent46f8c3c7e95c0d30d95911e7975ddc4f93b3e237 (diff)
ARM: OMAP: AM35x: remove hwmods that aren't generic
Removing modules iva, sr1_hwmod, sr2_hwmod, mailbox from the base omap3xxx_hwmods list, so that they can be excluded for am35x. This removes quite a few warnings on boot for AM35x. Signed-off-by: Abhilash K V <abhilash.kv@ti.com> [paul@pwsan.com: dropped 'mailbox class' comments; updated changelog] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_3xxx_data.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index ab35acbc2d1d..ac12cd5fb073 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -3132,7 +3132,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
3132 &omap3xxx_mmc2_hwmod, 3132 &omap3xxx_mmc2_hwmod,
3133 &omap3xxx_mmc3_hwmod, 3133 &omap3xxx_mmc3_hwmod,
3134 &omap3xxx_mpu_hwmod, 3134 &omap3xxx_mpu_hwmod,
3135 &omap3xxx_iva_hwmod,
3136 3135
3137 &omap3xxx_timer1_hwmod, 3136 &omap3xxx_timer1_hwmod,
3138 &omap3xxx_timer2_hwmod, 3137 &omap3xxx_timer2_hwmod,
@@ -3161,8 +3160,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
3161 &omap3xxx_i2c1_hwmod, 3160 &omap3xxx_i2c1_hwmod,
3162 &omap3xxx_i2c2_hwmod, 3161 &omap3xxx_i2c2_hwmod,
3163 &omap3xxx_i2c3_hwmod, 3162 &omap3xxx_i2c3_hwmod,
3164 &omap34xx_sr1_hwmod,
3165 &omap34xx_sr2_hwmod,
3166 3163
3167 /* gpio class */ 3164 /* gpio class */
3168 &omap3xxx_gpio1_hwmod, 3165 &omap3xxx_gpio1_hwmod,
@@ -3184,8 +3181,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
3184 &omap3xxx_mcbsp2_sidetone_hwmod, 3181 &omap3xxx_mcbsp2_sidetone_hwmod,
3185 &omap3xxx_mcbsp3_sidetone_hwmod, 3182 &omap3xxx_mcbsp3_sidetone_hwmod,
3186 3183
3187 /* mailbox class */
3188 &omap3xxx_mailbox_hwmod,
3189 3184
3190 /* mcspi class */ 3185 /* mcspi class */
3191 &omap34xx_mcspi1, 3186 &omap34xx_mcspi1,
@@ -3198,31 +3193,39 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
3198 3193
3199/* 3430ES1-only hwmods */ 3194/* 3430ES1-only hwmods */
3200static __initdata struct omap_hwmod *omap3430es1_hwmods[] = { 3195static __initdata struct omap_hwmod *omap3430es1_hwmods[] = {
3196 &omap3xxx_iva_hwmod,
3201 &omap3430es1_dss_core_hwmod, 3197 &omap3430es1_dss_core_hwmod,
3198 &omap3xxx_mailbox_hwmod,
3202 NULL 3199 NULL
3203}; 3200};
3204 3201
3205/* 3430ES2+-only hwmods */ 3202/* 3430ES2+-only hwmods */
3206static __initdata struct omap_hwmod *omap3430es2plus_hwmods[] = { 3203static __initdata struct omap_hwmod *omap3430es2plus_hwmods[] = {
3204 &omap3xxx_iva_hwmod,
3207 &omap3xxx_dss_core_hwmod, 3205 &omap3xxx_dss_core_hwmod,
3208 &omap3xxx_usbhsotg_hwmod, 3206 &omap3xxx_usbhsotg_hwmod,
3207 &omap3xxx_mailbox_hwmod,
3209 NULL 3208 NULL
3210}; 3209};
3211 3210
3212/* 34xx-only hwmods (all ES revisions) */ 3211/* 34xx-only hwmods (all ES revisions) */
3213static __initdata struct omap_hwmod *omap34xx_hwmods[] = { 3212static __initdata struct omap_hwmod *omap34xx_hwmods[] = {
3213 &omap3xxx_iva_hwmod,
3214 &omap34xx_sr1_hwmod, 3214 &omap34xx_sr1_hwmod,
3215 &omap34xx_sr2_hwmod, 3215 &omap34xx_sr2_hwmod,
3216 &omap3xxx_mailbox_hwmod,
3216 NULL 3217 NULL
3217}; 3218};
3218 3219
3219/* 36xx-only hwmods (all ES revisions) */ 3220/* 36xx-only hwmods (all ES revisions) */
3220static __initdata struct omap_hwmod *omap36xx_hwmods[] = { 3221static __initdata struct omap_hwmod *omap36xx_hwmods[] = {
3222 &omap3xxx_iva_hwmod,
3221 &omap3xxx_uart4_hwmod, 3223 &omap3xxx_uart4_hwmod,
3222 &omap3xxx_dss_core_hwmod, 3224 &omap3xxx_dss_core_hwmod,
3223 &omap36xx_sr1_hwmod, 3225 &omap36xx_sr1_hwmod,
3224 &omap36xx_sr2_hwmod, 3226 &omap36xx_sr2_hwmod,
3225 &omap3xxx_usbhsotg_hwmod, 3227 &omap3xxx_usbhsotg_hwmod,
3228 &omap3xxx_mailbox_hwmod,
3226 NULL 3229 NULL
3227}; 3230};
3228 3231