drivers: flash: Add Infineon CAT1 Flash driver
- Added initial version of Infineon CAT1 Flash driver - Added binding file for infineon,cat1-flash-controller.yaml - Added overlays for subsys/nvs and drivers/flash_shell to support cy8cproto_063_ble, cy8cproto_062_4343w boards - Defined erase-block-size in PSoC6 MPN dtsi. Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
This commit is contained in:
parent
883e40db51
commit
98858f1e6a
15 changed files with 323 additions and 2 deletions
22
drivers/flash/Kconfig.ifx_cat1
Normal file
22
drivers/flash/Kconfig.ifx_cat1
Normal file
|
@ -0,0 +1,22 @@
|
|||
# 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
|
||||
select FLASH_HAS_PAGE_LAYOUT
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
select USE_INFINEON_FLASH
|
||||
help
|
||||
Enable the 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.
|
Loading…
Add table
Add a link
Reference in a new issue