Skip to contentSkip to conversation

ARM: am3517-evm: Disable CONFIG_USB_EHCI_OMAP in SPL

PATCH New Adam Ford 2 participants 2 messages Aug 22, 2019 – Aug 27, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: am3517-evm: Disable CONFIG_USB_EHCI_OMAP in SPL

Found accidentally in omap3_logic, CONFIG_USB_EHCI_OMAP adds some code size to SPL, so this patch disables it on the am3517-evm to reduce the code a bit since it's tight for space.

include/configs/am3517_evm.h +4 -1
index 63489133a8..3e5f0b1992 100644
@@ -26,8 +26,11 @@
  * Enable CONFIG_USB_MUSB_HOST for Host functionalities MSC, keyboard
  * Enable CONFIG_USB_MUSB_GADGET for Device functionalities.
  */
-
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_USB_EHCI_OMAP
+#else
 #define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	57
+#endif
 
 /* I2C */
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: am3517-evm: Disable CONFIG_USB_EHCI_OMAP in SPL

include/configs/am3517_evm.h

Quoted 8 lines · Adam Ford

Found accidentally in omap3_logic, CONFIG_USB_EHCI_OMAP adds some code size to SPL, so this patch disables it on the am3517-evm to reduce the code a bit since it's tight for space.

include/configs/am3517_evm.h +0 -0
index 63489133a8..3e5f0b1992 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190826/4c230705/attachment.sig>