| # Renesas RA Family |
| |
| # Copyright (c) 2024-2025 Renesas Electronics Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| config SOC_FLASH_RENESAS_RA_HP |
| bool "RA Flash HP driver" |
| depends on DT_HAS_RENESAS_RA_FLASH_HP_CONTROLLER_ENABLED |
| default y |
| select FLASH_HAS_DRIVER_ENABLED |
| select FLASH_PAGE_LAYOUT |
| select FLASH_HAS_PAGE_LAYOUT |
| select FLASH_HAS_EXPLICIT_ERASE |
| select FLASH_HAS_EX_OP if(SOC_SERIES_RA8M1 || SOC_SERIES_RA8D1 || SOC_SERIES_RA8T1) |
| select USE_RA_FSP_FLASH_HP |
| help |
| Enable Flash HP driver for RA series |
| |
| if SOC_FLASH_RENESAS_RA_HP |
| |
| config FLASH_RENESAS_RA_HP_WRITE_PROTECT |
| bool "Extended operation for flash write protection control" |
| default n |
| help |
| Enables flash extended operation to enable/disable flash write |
| protection from external devices |
| |
| config FLASH_RENESAS_RA_HP_BGO |
| bool "Background operations feature" |
| default y |
| help |
| Enable Background operations (BGOs) |
| |
| config FLASH_RENESAS_RA_HP_CHECK_BEFORE_READING |
| bool "Verify area before reading it" |
| default $(dt_nodelabel_bool_prop,flash1,erase-value-undefined) |
| help |
| Do a blank check flash command before reading an area. |
| This feature prevents erroneous reading. Values read from an |
| area of the data flash that has been erased but not programmed |
| are undefined. |
| |
| endif # SOC_FLASH_RENESAS_RA_HP |