Home
last modified time | relevance | path

Searched hist:"47 fe4c4fe22fa7df5e79867eb6a52e842e6abdb6" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/arm/common/
H A Darm_image_load.c47fe4c4fe22fa7df5e79867eb6a52e842e6abdb6 Mon Jan 25 13:45:47 UTC 2021 Heyi Guo <guoheyi@linux.alibaba.com> plat/arm/arm_image_load: fix bug of overriding the last node

The traverse flow in function plat_add_sp_images_load_info() will find
the last node in the main load info list, with its
next_load_info==NULL. However this node is still useful and should not
be overridden with SP node info.

The bug will cause below error on RDN2 for spmd enabled:

ERROR: Invalid NT_FW_CONFIG DTB passed

Fix the bug by only setting the next_load_info of the last node in the
original main node list.

Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com>
Change-Id: Icaee5da1f2d53b29fdd6085a8cc507446186fd57