summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-04-27 19:22:38 -0400
committerTom Rini <[email protected]>2023-04-27 19:22:38 -0400
commitc9c2c95d4cd27fe0cd41fe13a863899d268f973c (patch)
tree3d21d49d97b97f5c8579a43c5d4211f04d6fa4de /configs
parentb197f1f05dee730e173a0756cb1a5f2be5d3ba5b (diff)
parent56722fafd9b2a017930030e9b50c5784f64545db (diff)
Merge branch '2023-04-27-introduce-nvm-xip-block-storage-emulation'
To quote the author: Adding block storage emulation for NVM XIP flash devices. Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The NVM XIP block storage emulation provides the following features: - Emulate NVM XIP raw flash as a block storage device with read only capability - Being generic by design and can be used by any platform - Device tree node - Platforms can use multiple NVM XIP devices at the same time by defining a DT node for each one of them - A generic NVMXIP block driver allowing to read from the XIP flash - A generic NVMXIP Uclass driver for binding the block device - A generic NVMXIP QSPI driver - Implemented on top of memory-mapped IO (using readq macro) - Enabling NVMXIP in sandbox64 - A sandbox test case - Enabling NVMXIP in Corstone1000 platform as a use case For more details please refer to doc/develop/driver-model/nvmxip.rst
Diffstat (limited to 'configs')
-rw-r--r--configs/corstone1000_defconfig1
-rw-r--r--configs/sandbox64_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig
index 383317fefee..35f763596ad 100644
--- a/configs/corstone1000_defconfig
+++ b/configs/corstone1000_defconfig
@@ -52,3 +52,4 @@ CONFIG_DM_SERIAL=y
CONFIG_USB=y
CONFIG_USB_ISP1760=y
CONFIG_ERRNO_STR=y
+CONFIG_NVMXIP_QSPI=y
diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index af2c56ad4c6..bb877b6a587 100644
--- a/configs/sandbox64_defconfig
+++ b/configs/sandbox64_defconfig
@@ -260,3 +260,4 @@ CONFIG_FWU_MULTI_BANK_UPDATE=y
CONFIG_UNIT_TEST=y
CONFIG_UT_TIME=y
CONFIG_UT_DM=y
+CONFIG_NVMXIP_QSPI=y