| # Copyright (c) 2024 Renesas Electronics Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| depends on DT_HAS_RENESAS_RA_FLASH_HP_CONTROLLER_ENABLED |
| select FLASH_HAS_DRIVER_ENABLED |
| 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 |
| Enable flash driver for RA series |
| config FLASH_RA_WRITE_PROTECT |
| bool "Extended operation for flash write protection control" |
| Enables flash extended operation to enable/disable flash write |
| protection from external devices |