Convert CONFIG_SPL_USB_SUPPORT to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 13 Sep 2016 05:19:01 +0000 (23:19 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2016 21:27:22 +0000 (17:27 -0400)
Move this option to Kconfig and tidy up existing uses.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/am43xx_evm_usbhost_boot_defconfig
include/configs/am43xx_evm.h

index 18097769da908c4a7db7bde91a6528d659e2b6eb..5bc4ef84b1568592ddafa0495b3ac3b1e7cebf90 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_USB_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
index d7a96b9be488c2fc9efc5076c4145edbb1e856ad..c2fc2c20222fe1305bab86a65961764ed95f3aa7 100644 (file)
@@ -86,9 +86,6 @@
 #define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 /* SPL USB Support */
-#ifdef CONFIG_SPL_USB_HOST_SUPPORT
-#define CONFIG_SPL_USB_SUPPORT
-#endif
 
 #if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD)
 #define CONFIG_SYS_USB_FAT_BOOT_PARTITION              1