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