1# Infineon CAT1 Flash configuration options
2
3# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
4# an affiliate of Cypress Semiconductor Corporation
5#
6# SPDX-License-Identifier: Apache-2.0
7
8config FLASH_INFINEON_CAT1
9	bool "Infineon CAT1 FLASH driver"
10	default y
11	depends on DT_HAS_INFINEON_CAT1_FLASH_CONTROLLER_ENABLED && DT_HAS_FIXED_PARTITIONS_ENABLED
12	select FLASH_HAS_PAGE_LAYOUT
13	select FLASH_HAS_DRIVER_ENABLED
14	select USE_INFINEON_FLASH
15	help
16	  Enable the Flash driver for Infineon CAT1 family.
17
18
19config MPU_ALLOW_FLASH_WRITE
20	bool "Add MPU access to write to flash"
21	help
22	  Enable this to allow MPU RWX access to flash memory.
23