zephyr/drivers/flash/Kconfig.ifx_cat1
Bill Waters eb19d32588 drivers: Remove CONFIG_PINCTRL in defconfig files
The CONFIG_PINCTRL setting is removed from the board
_defconfig files.  And "select PINCTRL" is added to
the appropriate driver files.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2024-09-23 18:08:14 -04:00

37 lines
1.1 KiB
Plaintext

# Infineon CAT1 Flash configuration options
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
# an affiliate of Cypress Semiconductor Corporation
#
# SPDX-License-Identifier: Apache-2.0
config FLASH_INFINEON_CAT1
bool "Infineon CAT1 FLASH driver"
default y
depends on DT_HAS_INFINEON_CAT1_FLASH_CONTROLLER_ENABLED && DT_HAS_FIXED_PARTITIONS_ENABLED
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select USE_INFINEON_FLASH
select FLASH_HAS_EXPLICIT_ERASE
help
Enable the Flash driver for Infineon CAT1 family.
config INFINEON_CAT1_QSPI_FLASH
bool "Infineon CAT1 QSPI FLASH driver"
default y
depends on DT_HAS_INFINEON_CAT1_QSPI_FLASH_ENABLED && DT_HAS_FIXED_PARTITIONS_ENABLED
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select USE_INFINEON_FLASH
select USE_INFINEON_SMIF
select PINCTRL
select FLASH_HAS_EXPLICIT_ERASE
help
Enable the QSPI Flash driver for Infineon CAT1 family.
config MPU_ALLOW_FLASH_WRITE
bool "Add MPU access to write to flash"
help
Enable this to allow MPU RWX access to flash memory.