Skip to contentSkip to conversation

ARM: omap3_logic: Fix SPL boot failure when EHCI enabled

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: omap3_logic: Fix SPL boot failure when EHCI enabled

Some of the USB code is still being built into SPL even when the SPL menu options have it explicitly disabled for SPL. Unit there is a better solution, This patch undefines CONFIG_USB_EHCI_OMAP when building SPL which reduces the code and lets the board boot again.

Fixes 25e4ff45b17d ("ARM: omap3_logic: Enable OMAP EHCI support

for SOM-LV Boards")

include/configs/omap3_logic.h +3 -0
index b7c3ddf564..90292ae312 100644
@@ -30,6 +30,9 @@
 /* I2C */
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* EEPROM AT24C64      */
 
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_USB_EHCI_OMAP
+#endif
 #ifdef CONFIG_USB_EHCI_OMAP
 #define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	4
 #endif
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: omap3_logic: Fix SPL boot failure when EHCI enabled

include/configs/omap3_logic.h

Quoted 12 lines · Adam Ford

Some of the USB code is still being built into SPL even when the SPL menu options have it explicitly disabled for SPL. Unit there is a better solution, This patch undefines CONFIG_USB_EHCI_OMAP when building SPL which reduces the code and lets the board boot again.

Fixes 25e4ff45b17d ("ARM: omap3_logic: Enable OMAP EHCI support

for SOM-LV Boards")

include/configs/omap3_logic.h +0 -0
index b7c3ddf564..90292ae312 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/4df3f7d6/attachment.sig>