aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorEvan Green <evgreen@chromium.org>2020-11-27 10:28:34 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-27 16:10:06 +0100
commitfd3bb8f54a88107570334c156efb0c724a261003 (patch)
treeb6b3997e7140f62334df9a1cbd22abad4e9d40f9 /block
parent8f3991f0669ef271615e25c3390c20b8fb00d674 (diff)
nvmem: core: Add support for keepout regions
Introduce support into the nvmem core for arrays of register ranges that should not result in actual device access. For these regions a constant byte (repeated) is returned instead on read, and writes are quietly ignored and returned as successful. This is useful for instance if certain efuse regions are protected from access by Linux because they contain secret info to another part of the system (like an integrated modem). Signed-off-by: Evan Green <evgreen@chromium.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20201127102837.19366-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions