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

From: Samuel Holland samuel@sholland.org Sent: Monday, September 13, 2021 12:06 AM To: Rick Jian-Zhi Chen(陳建志) rick@andestech.com; Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com Cc: u-boot@lists.denx.de; Samuel Holland samuel@sholland.org; Atish Patra atish.patra@wdc.com; Bin Meng bmeng.cn@gmail.com; Etienne Carriere etienne.carriere@st.com; Sean Anderson seanga2@gmail.com; Simon Glass sjg@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@sholland.org
arch/riscv/lib/fdt_fixup.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Reviewed-by: Rick Chen rick@andestech.com
participants (1)
-
Rick Chen