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

Patrice CHOTARD patrice.chotard at st.com
Tue Aug 25 11:56:12 CEST 2020


Hi Simon

On 8/22/20 5:09 PM, Simon Glass wrote:
> 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.

Yes, sorry, we forgot to update dm test and other platform piece of code.

A v2 will be send.

Thanks

Patrice




More information about the U-Boot mailing list