1# Renesas RA Family
2
3# Copyright (c) 2024 Renesas Electronics Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6config RA_FLASH_HP
7	bool "RA flash driver"
8	depends on DT_HAS_RENESAS_RA_FLASH_HP_CONTROLLER_ENABLED
9	default y
10	select FLASH_HAS_DRIVER_ENABLED
11	select FLASH_PAGE_LAYOUT
12	select FLASH_HAS_PAGE_LAYOUT
13	select FLASH_HAS_EXPLICIT_ERASE
14	select FLASH_HAS_EX_OP if(SOC_SERIES_RA8M1 || SOC_SERIES_RA8D1 || SOC_SERIES_RA8T1)
15	select USE_RA_FSP_FLASH_HP
16	help
17	  Enable flash driver for RA series
18
19if RA_FLASH_HP
20
21config FLASH_RA_WRITE_PROTECT
22	bool "Extended operation for flash write protection control"
23	default n
24	help
25	  Enables flash extended operation to enable/disable flash write
26	  protection from external devices
27
28config DUAL_BANK_MODE
29	bool "Dual bank mode"
30	help
31	  Enable dual bank mode
32
33endif # RA_FLASH_HP
34