]> Git Repo - J-u-boot.git/commit
fdtdec: optionally add property no-map to created reserved memory node
authorEtienne Carriere <[email protected]>
Thu, 10 Sep 2020 08:49:59 +0000 (10:49 +0200)
committerSimon Glass <[email protected]>
Tue, 22 Sep 2020 18:54:13 +0000 (12:54 -0600)
commitccaa5747bdeae4261199dd7e80771e4de1c550ca
treeab94e7a90a9402304aa0c5d0377992e74186ce4b
parent68de0679c940276b97c31b809168052f9d905505
fdtdec: optionally add property no-map to created reserved memory node

Add boolean input argument @no_map to helper function
fdtdec_add_reserved_memory() to add or not "no-map" property
for an added reserved memory node.

Property no-map is used by the Linux kernel to not not map memory
in its static memory mapping. It is needed for example for the|
consistency of system non-cached memory and to prevent speculative
accesses to some firewalled memory.

No functional change. A later change will update to OPTEE library to
add no-map property to OP-TEE reserved memory nodes.

Signed-off-by: Etienne Carriere <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/riscv/lib/fdt_fixup.c
include/fdtdec.h
lib/fdtdec.c
lib/optee/optee.c
test/dm/fdtdec.c
This page took 0.035961 seconds and 4 git commands to generate.