configs: am335x: usb: do not define CONFIG_DM_USB for spl
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 17 Nov 2016 09:08:06 +0000 (14:38 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Dec 2016 04:03:34 +0000 (21:03 -0700)
Since OMAP's spl doesn't support DM currently, do not define
CONFIG_DM_USB for spl build.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/am335x_evm.h

index 8fa8e39f71e4ebf3f8707f621badef2b2b8d5c69..7d9dfde17e56d74be6d9b4f6238d28b043dadfa2 100644 (file)
 #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)