From 8232bc2cdd47666a51cd3bc5beea608f13b8e9fa Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 24 Sep 2013 21:04:12 +0300 Subject: usbdebug: Hide irrelevent options from menuconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No need to show the choice of USB port or controller in case of older hardware where location for usbdebug was hardwired. Change-Id: Ia186bf2c6ed60be2834cf6fd0a1965c8bf81ed4d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4290 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/console/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/console/Kconfig') diff --git a/src/console/Kconfig b/src/console/Kconfig index 12b942df2c..cd923ae5b8 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -181,8 +181,9 @@ config USBDEBUG_IN_ROMSTAGE if USBDEBUG config USBDEBUG_HCD_INDEX - int "Index for EHCI controller to use with usbdebug" + int default 0 + prompt "Index for EHCI controller to use with usbdebug" if HAVE_USBDEBUG_OPTIONS help Some boards have multiple EHCI controllers with possibly only one having the Debug Port capability on an external USB port. @@ -192,8 +193,9 @@ config USBDEBUG_HCD_INDEX a working default value here. config USBDEBUG_DEFAULT_PORT - int "Default USB port to use as Debug Port" + int default 0 + prompt "Default USB port to use as Debug Port" if HAVE_USBDEBUG_OPTIONS help Selects which physical USB port usbdebug dongle is connected to. Setting of 0 means to scan possible ports starting from 1. -- cgit v1.2.3