summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-12 23:19:01 -0600
committerTom Rini <trini@konsulko.com>2016-09-16 17:27:22 -0400
commitf575cafb3b070e2478cc0b1b3a5156f6d353e7b6 (patch)
tree0695e2b039f19a284fca63e34c76c5c1449c63e8
parent16e30e36bf17f920ad3ad953e7b541e4ce5328db (diff)
downloadu-boot-imx-f575cafb3b070e2478cc0b1b3a5156f6d353e7b6.zip
u-boot-imx-f575cafb3b070e2478cc0b1b3a5156f6d353e7b6.tar.gz
u-boot-imx-f575cafb3b070e2478cc0b1b3a5156f6d353e7b6.tar.bz2
Convert CONFIG_SPL_USB_SUPPORT to Kconfig
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/am43xx_evm_usbhost_boot_defconfig1
-rw-r--r--include/configs/am43xx_evm.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index 1809776..5bc4ef8 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -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
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d7a96b9..c2fc2c2 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -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