forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.ifx_cat1
36 lines (31 loc) · 1.07 KB
/
Kconfig.ifx_cat1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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.