Add explicit_erase capability and set proper value to it, depending on type of a device. Select FLASH_HAS_EXPLICIT_ERASE by devices that have program-erase characteristics and FLASH_HAS_NO_EXPLICIT_ERASE, where needed. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
14 lines
439 B
Plaintext
14 lines
439 B
Plaintext
# Copyright (c) 2022 Renesas Electronics Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FLASH_SMARTBOND
|
|
bool "Renesas SmartBond(tm) flash driver"
|
|
default y
|
|
depends on DT_HAS_RENESAS_SMARTBOND_FLASH_CONTROLLER_ENABLED
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
select FLASH_HAS_EXPLICIT_ERASE
|
|
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
|
|
help
|
|
Enable flash driver for Renesas SmartBond(tm) MCU family.
|