Skip to contentSkip to conversation

ARM: OMAP2+: Remove unused ti81xx platform init code

PATCH New Matthijs van Duin 2 participants 2 messages Jan 18, 2015 – Jan 19, 2015

lore
Share & tools
lore
#0 lore raw

arch/arm/mach-omap2/usb-musb.c void __init usb_musb_init(struct omap_musb_board_data *musb_board_data) · line 85

Quoted 7 lines
arch/arm/mach-omap2/usb-musb.c +0 -1
@@ -82,16 +82,8 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
  musb_plat.mode = board_data->mode;
  musb_plat.extvbus = board_data->extvbus;
 
- if (soc_is_am35xx()) {

Was it intentional that this patch also removed a test for am35xx (rather than am335x) ?

#1 lore raw

PATCH 1/7 ARM: OMAP2+: Remove unused ti81xx platform init code

Quoted 10 lines · Matthijs van Duin

arch/arm/mach-omap2/usb-musb.c void __init usb_musb_init(struct omap_musb_board_data *musb_board_data) · line 85

Quoted 7 lines
arch/arm/mach-omap2/usb-musb.c +0 -1
@@ -82,16 +82,8 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
  musb_plat.mode = board_data->mode;
  musb_plat.extvbus = board_data->extvbus;
 
- if (soc_is_am35xx()) {

Was it intentional that this patch also removed a test for am35xx (rather than am335x) ?

Oops that was not intentional. However, with the pending patches to make am3517 dt only, this won't hurt anything as the only legacy platform then left are omap3430 to omap3730 which us the default musb-omap2430.

Regards,

Tony