1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/hifive1*: remove board level clock Kconfig

This commit is contained in:
Alexandre Abadie 2020-12-15 23:12:25 +01:00
parent aaca1331ca
commit f2fe6373be
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 0 additions and 93 deletions

View File

@ -17,49 +17,3 @@ config BOARD_HIFIVE1
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
menu "Hifive1 clock configuration"
depends on BOARD_HIFIVE1
choice
bool "Clock source selection"
default USE_CLOCK_HFXOSC_PLL
config USE_CLOCK_HFXOSC_PLL
bool "PLL clocked by high frequency external oscillator (HFXOSC)"
config USE_CLOCK_HFXOSC
bool "Direct High frequency external oscillator (HFXOSC)"
config USE_CLOCK_HFROSC_PLL
bool "PLL clocked by High frequency internal oscillator (HFROSC)"
config USE_CLOCK_HFROSC
bool "Direct High frequency internal oscillator (HFROSC)"
endchoice
# the configuration macros must always be defined for clock.c to compile
config CLOCK_PLL_F
int "F: REFR multiply factor" if USE_CLOCK_HFXOSC_PLL
default 39
config CLOCK_PLL_Q
int "Q: VCO divide factor" if USE_CLOCK_HFXOSC_PLL
default 1
config CLOCK_DESIRED_FREQUENCY
int "Desired clock frequency" if USE_CLOCK_HFROSC_PLL
default 320000000
range 1000000 320000000
config CLOCK_HFROSC_TRIM
int "TRIM: input frequency multiplier" if USE_CLOCK_HFROSC
default 6
range 0 31
config CLOCK_HFROSC_DIV
int "DIV: output frequency divider" if USE_CLOCK_HFROSC
default 1
range 0 63
endmenu

View File

@ -19,50 +19,3 @@ config BOARD_HIFIVE1B
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_ARDUINO
menu "Hifive1b clock configuration"
depends on BOARD_HIFIVE1B
choice
bool "Clock source selection"
default USE_CLOCK_HFXOSC_PLL
config USE_CLOCK_HFXOSC_PLL
bool "PLL clocked by high frequency external oscillator (HFXOSC)"
config USE_CLOCK_HFXOSC
bool "Direct High frequency external oscillator (HFXOSC)"
config USE_CLOCK_HFROSC_PLL
bool "PLL clocked by High frequency internal oscillator (HFROSC)"
config USE_CLOCK_HFROSC
bool "Direct High frequency internal oscillator (HFROSC)"
endchoice
# the configuration macros must always be defined for clock.c to compile
config CLOCK_PLL_F
int "F: REFR multiply factor" if USE_CLOCK_HFXOSC_PLL
default 39
config CLOCK_PLL_Q
int "Q: VCO divide factor" if USE_CLOCK_HFXOSC_PLL
default 1
config CLOCK_DESIRED_FREQUENCY
int
prompt "Desired clock frequency" if USE_CLOCK_HFROSC_PLL
default 320000000
range 1000000 320000000
config CLOCK_HFROSC_TRIM
int "TRIM: input frequency multiplier" if USE_CLOCK_HFROSC
default 6
range 0 31
config CLOCK_HFROSC_DIV
int "DIV: output frequency divider" if USE_CLOCK_HFROSC
default 1
range 0 63
endmenu