soc: bflb: rename bouffalolab_bflb soc family to bflb
For simplicity/consistency with many other soc families, rename the bouffalolab_bflb soc family to the simpler bflb. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
2e881018ac
commit
047b11f0d1
6 changed files with 11 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if(CONFIG_SOC_FAMILY_BOUFFALOLAB_BFLB)
|
||||
if(CONFIG_SOC_FAMILY_BFLB)
|
||||
zephyr_library_named(hal_bouffalolab)
|
||||
|
||||
zephyr_library_compile_definitions(
|
||||
|
@ -52,4 +52,4 @@ if(CONFIG_SOC_FAMILY_BOUFFALOLAB_BFLB)
|
|||
zephyr_library_sources_ifdef(CONFIG_USE_BFLB_PWM ${bflb_drv_src_dir}/${bflb_soc}_pwm.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_USE_BFLB_SPI ${bflb_drv_src_dir}/${bflb_soc}_spi.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_USE_BFLB_UART ${bflb_drv_src_dir}/${bflb_soc}_uart.c)
|
||||
endif() # SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
endif() # SOC_FAMILY_BFLB
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
config SOC_FAMILY_BFLB
|
||||
select HAS_BFLB_HAL
|
||||
|
||||
if SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
if SOC_FAMILY_BFLB
|
||||
|
||||
rsource "*/Kconfig"
|
||||
|
||||
endif # SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
endif # SOC_FAMILY_BFLB
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
if SOC_FAMILY_BFLB
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
||||
|
||||
rsource "*/Kconfig.defconfig"
|
||||
|
||||
endif # SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
endif # SOC_FAMILY_BFLB
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
config SOC_FAMILY_BFLB
|
||||
bool
|
||||
|
||||
config SOC_FAMILY
|
||||
default "bouffalolab_bflb" if SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
default "bflb" if SOC_FAMILY_BFLB
|
||||
|
||||
rsource "*/Kconfig.soc"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
config SOC_SERIES_BL60X
|
||||
bool
|
||||
select SOC_FAMILY_BOUFFALOLAB_BFLB
|
||||
select SOC_FAMILY_BFLB
|
||||
help
|
||||
Enable support for BouffaloLab BL6xx MCU series
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
family:
|
||||
- name: bouffalolab_bflb
|
||||
- name: bflb
|
||||
series:
|
||||
- name: bl60x
|
||||
socs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue