mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
9e115ace35
add nvmxip_qspi driver under UCLASS_NVMXIP The device associated with this driver is the parent of the blk#<id> device nvmxip_qspi can be reused by other platforms. If the platform has custom settings to apply before using the flash, then the platform can provide its own parent driver belonging to UCLASS_NVMXIP and reuse nvmxip-blk driver. The custom driver can be implemented like nvmxip_qspi in addition to the platform custom settings. Platforms can use multiple NVM XIP devices at the same time by defining a DT node for each one of them. For more details please refer to doc/develop/driver-model/nvmxip_qspi.rst Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
19 lines
580 B
Text
19 lines
580 B
Text
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
|
|
# Authors:
|
|
# Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
|
|
|
config NVMXIP
|
|
bool "NVM XIP devices support"
|
|
select BLK
|
|
help
|
|
This option allows the emulation of a block storage device
|
|
on top of a direct access non volatile memory XIP flash devices.
|
|
This support provides the read operation.
|
|
|
|
config NVMXIP_QSPI
|
|
bool "QSPI XIP support"
|
|
select NVMXIP
|
|
help
|
|
This option allows the emulation of a block storage device on top of a QSPI XIP flash
|