[U-Boot] [PATCH 2/5] Revert "configs: am335x: usb: do not define CONFIG_DM_USB for spl"

Alexandru Gagniuc alex.g at adaptrum.com
Fri Feb 3 23:42:17 UTC 2017


This reverts commit 4623f974a585b59bd07fb60a326a096290aa4c53.
This confuses the #ifdef logic in am33xx/board.c. This results in
undefined symbols when USB gadget mode is disabled in .config.

Signed-off-by: Alexandru Gagniuc <alex.g at adaptrum.com>
---
 include/configs/am335x_evm.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 85c0728..cd42601 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -282,7 +282,6 @@
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
 #undef CONFIG_TIMER
-#undef CONFIG_DM_USB
 #endif
 
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
-- 
2.9.3



More information about the U-Boot mailing list