summaryrefslogtreecommitdiff
path: root/include/configs/am3517_evm.h
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-08-22 16:44:03 -0500
committerTom Rini <trini@konsulko.com>2019-08-26 11:46:30 -0400
commit9fcea65bca12775c599168641ec1ae15d088800b (patch)
tree4be67bbdd1d47b7fbb007cc99f95f08ca1af0bb6 /include/configs/am3517_evm.h
parentbd8230f4986fd83fe7811a1e4de817b2c50e45f8 (diff)
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. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include/configs/am3517_evm.h')
-rw-r--r--include/configs/am3517_evm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 63489133a8..3e5f0b1992 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -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 */