Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions boards/aithinker/ai_m62_12f/ai_m62_12f.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ supported:
- gpio
- pinctrl
- uart
- flash
vendor: bflb
1 change: 1 addition & 0 deletions boards/aithinker/ai_wb2_12f/ai_wb2_12f.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ supported:
- gpio
- pinctrl
- uart
- flash
vendor: bflb
1 change: 1 addition & 0 deletions boards/bflb/bl60x/bl604e_iot_dvk/bl604e_iot_dvk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ supported:
- gpio
- pinctrl
- uart
- flash
vendor: bflb
1 change: 1 addition & 0 deletions boards/doiting/dt_bl10_devkit/dt_bl10_devkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ supported:
- gpio
- pinctrl
- uart
- flash
vendor: doiting
1 change: 1 addition & 0 deletions boards/doiting/dt_xt_zb1_devkit/dt_xt_zb1_devkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ supported:
- gpio
- pinctrl
- uart
- flash
vendor: doiting
1 change: 1 addition & 0 deletions drivers/flash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ zephyr_library_sources_ifdef(CONFIG_FLASH_STM32_QSPI flash_stm32_qspi.c)
zephyr_library_sources_ifdef(CONFIG_FLASH_STM32_XSPI flash_stm32_xspi.c)
zephyr_library_sources_ifdef(CONFIG_INFINEON_CAT1_QSPI_FLASH flash_ifx_cat1_qspi.c)
zephyr_library_sources_ifdef(CONFIG_NORDIC_QSPI_NOR nrf_qspi_nor.c)
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_BFLB flash_bflb.c)
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_CC13XX_CC26XX soc_flash_cc13xx_cc26xx.c)
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_CC23X0 soc_flash_cc23x0.c)
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_ESP32 flash_esp32.c)
Expand Down
1 change: 1 addition & 0 deletions drivers/flash/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ source "drivers/flash/Kconfig.andes"
source "drivers/flash/Kconfig.at25xv021a"
source "drivers/flash/Kconfig.at45"
source "drivers/flash/Kconfig.b91"
source "drivers/flash/Kconfig.bflb"
source "drivers/flash/Kconfig.cadence_nand"
source "drivers/flash/Kconfig.cadence_qspi_nor"
source "drivers/flash/Kconfig.cc13xx_cc26xx"
Expand Down
20 changes: 20 additions & 0 deletions drivers/flash/Kconfig.bflb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
# SPDX-License-Identifier: Apache-2.0

config SOC_FLASH_BFLB
bool "Bouffalolab flash driver"
default y
depends on DT_HAS_BFLB_FLASH_CONTROLLER_ENABLED
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_EXPLICIT_ERASE
select CODE_DATA_RELOCATION
help
Enables Bouffalolab flash driver for the flash controller

config SOC_FLASH_BFLB_DIRECT_ACCESS
bool "Bouffalolab flash driver read mode"
default n
depends on SOC_FLASH_BFLB
help
Enables direct access to flash via controller instead of via cache and XIP
Loading
Loading