diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2021-04-02 20:31:27 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-04-07 10:06:24 +0200 |
commit | 13b89768275d6ca9764bf91449e4cafe46ba706b (patch) | |
tree | a2acd9ff585acbd4c6b10064f140284e23bcf03a /scripts/gdb/linux/utils.py | |
parent | ee590106c331ad54df9da3052b5c52014b2edb0b (diff) |
mtd: rawnand: Add support for secure regions in NAND memory
On a typical end product, a vendor may choose to secure some regions in
the NAND memory which are supposed to stay intact between FW upgrades.
The access to those regions will be blocked by a secure element like
Trustzone. So the normal world software like Linux kernel should not
touch these regions (including reading).
The regions are declared using a NAND chip DT property,
"secure-regions". So let's make use of this property in the raw NAND
core and skip access to the secure regions present in a system.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210402150128.29128-4-manivannan.sadhasivam@linaro.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions