[PATCH] riscv: Fix setting no-map in reserved memory nodes

Rick Chen rickchen36 at gmail.com
Fri Sep 17 08:47:33 CEST 2021


> From: Samuel Holland <samuel at sholland.org>
> Sent: Monday, September 13, 2021 12:06 AM
> To: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>
> Cc: u-boot at lists.denx.de; Samuel Holland <samuel at sholland.org>; Atish Patra <atish.patra at wdc.com>; Bin Meng <bmeng.cn at gmail.com>; Etienne Carriere <etienne.carriere at st.com>; Sean Anderson <seanga2 at gmail.com>; Simon Glass <sjg at chromium.org>
> Subject: [PATCH] riscv: Fix setting no-map in reserved memory nodes
>
> The no-map property is wrongly skipped if a no-map reserved memory node follows one without that property. Fix this by not remembering the absence of a no-map property across loop iterations.
>
> Fixes: d4ea649f179a ("riscv: Provide a mechanism to fix DT for reserved memory")
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>
>  arch/riscv/lib/fdt_fixup.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list