diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-01 00:16:34 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-08-07 21:55:42 +0200 |
commit | 2b58e1b76d2630f67e642a273f0975a11ead428d (patch) | |
tree | 4e5d9d1217b66f157b99a0a243dd06a1cac92917 /include/configs/omap4_panda.h | |
parent | 96d8284bd59ad99aae7fcd5ce3cc95e4aef782dc (diff) | |
download | u-boot-2b58e1b76d2630f67e642a273f0975a11ead428d.tar.gz |
usb: add (move) CONFIG_USB_HOST to Kconfig
The meaning of CONFIG_USB in U-Boot is different from that in Linux.
As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the
USB host controller support, while CONFIG_USB_SUPPORT is used to
enable the whole of the USB sub-system.
When I added CONFIG_USB into Kconfig by commit 6e7e9294d321 ("usb:
add basic USB configs in Kconfig"), I planned to follow the Linux's
convention, i.e. CONFIG_USB to enable/disable the USB host support.
Then, commit 68f7c5db2d1e ("usb: Generic USB Kconfig option, that
fits both host and gadget and comments") changed the logic of the
CONFIG_USB to point to the whole of the USB sub-system. As a result,
currently we do not have an option for USB host.
This commit adds CONFIG_USB_HOST, which will be useful to compile
in the USB host support code.
CONFIG_USB_HOST is not referenced at all, but strangely some boards
define it in board headers. I removed them because USB_HOST will be
selected in Kconfig going forward.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs/omap4_panda.h')
-rw-r--r-- | include/configs/omap4_panda.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index 0d62ccd2fe..ffa22c3b9e 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -17,7 +17,6 @@ */ /* USB UHH support options */ -#define CONFIG_USB_HOST #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_OMAP #define CONFIG_USB_STORAGE |