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 diff --git a/src/lpc176x/Kconfig b/src/lpc176x/Kconfig index 052396e9..02188752 100644 --- a/src/lpc176x/Kconfig +++ b/src/lpc176x/Kconfig @@ -10,6 +10,7 @@ config LPC_SELECT select HAVE_GPIO_I2C select HAVE_GPIO_SPI select HAVE_GPIO_BITBANGING + select HAVE_CHIPID config BOARD_DIRECTORY string @@ -66,8 +67,4 @@ config SERIAL bool default y -config HAVE_CHIPID - bool - default y - endif