From d8b6ff5c5e6846fd23381d99a8463adb0ee3099b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 21 Nov 2019 11:34:11 -0500 Subject: lpc176x: Minor rework of HAVE_CHIPID kconfig Signed-off-by: Kevin O'Connor --- src/Kconfig | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index 36cb7c12..12dd6e2a 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -50,10 +50,6 @@ config SERIAL_BAUD Specify the baud rate of the serial port. This should be set to 250000. Read the FAQ before changing this value. -config HAVE_CHIPID - bool - default n - # Generic configuration options for USB menu "USB ids" depends on USBSERIAL @@ -64,13 +60,13 @@ config USB_VENDOR_ID config USB_DEVICE_ID hex "USB device ID" default 0xabcd -config USB_SERIAL_NUMBER - string "USB serial number" if !USB_SERIAL_NUMBER_CHIPID - default "12345" config USB_SERIAL_NUMBER_CHIPID depends on HAVE_CHIPID bool "USB serial number from CHIPID" default y +config USB_SERIAL_NUMBER + string "USB serial number" if !USB_SERIAL_NUMBER_CHIPID + default "12345" endmenu @@ -108,8 +104,8 @@ config INITIAL_PINS pins will be set to output high - preface a pin with a '!' character to set that pin to output low. -# The HAVE_GPIO_x options allow boards to disable support for some -# commands if the hardware does not support the feature. +# The HAVE_x options allow boards to disable support for some commands +# if the hardware does not support the feature. config HAVE_GPIO bool default n @@ -128,6 +124,9 @@ config HAVE_GPIO_HARD_PWM config HAVE_GPIO_BITBANGING bool default n +config HAVE_CHIPID + bool + default n config INLINE_STEPPER_HACK # Enables gcc to inline stepper_event() into the main timer irq handler -- cgit v1.2.3-70-g09d2