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 select FLASH_HAS_EXPLICIT_ERASE 16 help 17 Enable the Flash driver for Infineon CAT1 family. 18 19config INFINEON_CAT1_QSPI_FLASH 20 bool "Infineon CAT1 QSPI FLASH driver" 21 default y 22 depends on DT_HAS_INFINEON_CAT1_QSPI_FLASH_ENABLED && DT_HAS_FIXED_PARTITIONS_ENABLED 23 select FLASH_HAS_PAGE_LAYOUT 24 select FLASH_HAS_DRIVER_ENABLED 25 select USE_INFINEON_FLASH 26 select USE_INFINEON_SMIF 27 select PINCTRL 28 select FLASH_HAS_EXPLICIT_ERASE 29 help 30 Enable the QSPI Flash driver for Infineon CAT1 family. 31 32 33config MPU_ALLOW_FLASH_WRITE 34 bool "Add MPU access to write to flash" 35 help 36 Enable this to allow MPU RWX access to flash memory. 37