[PATCH 1/2] fdtdec: optionally add property no-map to created reserved memory node

Simon Glass sjg at chromium.org
Sat Aug 22 17:09:36 CEST 2020


On Thu, 13 Aug 2020 at 03:47, Patrice Chotard <patrice.chotard at st.com> wrote:
>
> From: Etienne Carriere <etienne.carriere at st.com>
>
> Add boolean input argument @no_map to helper function
> fdtdec_add_reserved_memory() to add "no-map" property for an added
> reserved memory node. This is needed for example when the reserved
> memory relates to secure memory that the dear Linux kernel shall
> not even map unless what non-secure world speculative accesses of the
> CPU can violate the memory firmware configuration.
>
> No function 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 <etienne.carriere at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
>  include/fdtdec.h  |  5 +++--
>  lib/fdtdec.c      | 10 ++++++++--
>  lib/optee/optee.c |  2 +-
>  3 files changed, 12 insertions(+), 5 deletions(-)

Please can you check this as it seems to have a build error.


More information about the U-Boot mailing list