avr: List 20Mhz option below 16Mhz option in Kconfig

When enabling "low level options" in Kconfig, selecting a chip that is
20Mhz capable would result in 20Mhz being the default.  A 16Mhz speed
is the preferred default, so list that first in the menu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-09-30 10:02:40 -04:00
parent db2ee2c01a
commit bbf6f87de0
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ config AVRDUDE_PROTOCOL
choice choice
prompt "Processor speed" if LOW_LEVEL_OPTIONS prompt "Processor speed" if LOW_LEVEL_OPTIONS
config AVR_FREQ_16000000
bool "16Mhz"
config AVR_FREQ_20000000 config AVR_FREQ_20000000
bool "20Mhz" bool "20Mhz"
depends on MACH_atmega168 || MACH_atmega328 || MACH_atmega328p || MACH_atmega644p || MACH_atmega1284p depends on MACH_atmega168 || MACH_atmega328 || MACH_atmega328p || MACH_atmega644p || MACH_atmega1284p
config AVR_FREQ_16000000
bool "16Mhz"
config AVR_FREQ_8000000 config AVR_FREQ_8000000
bool "8Mhz" bool "8Mhz"
endchoice endchoice