> From: Michal Simek <michal.si...@amd.com> > Sent: Thursday, July 07, 2022 4:47 PM > To: Simon Glass <s...@chromium.org>; u-boot@lists.denx.de; g...@xilinx.com > Cc: Alexandru Gagniuc <mr.nuke...@gmail.com>; Jan Kiszka > <jan.kis...@siemens.com>; Leo Yu-Chi Liang(梁育齊) <ycli...@andestech.com>; > Marek Vasut <ma...@denx.de>; Peter Hoyes <peter.ho...@arm.com>; Rick Jian-Zhi > Chen(陳建志) <r...@andestech.com>; Tom Rini <tr...@konsulko.com> > Subject: [PATCH] arm: riscv: Remove additional ifdef from code guarded by > CONFIG_IS_ENABLED > > CONFIG_OF_LIBFDT is used twice for guarding the same code. It is enough to do > it once that's why remove additional ifdefs from arm and risc-v code. > > Fixes: 0c303f9a6628 ("image: Drop IMAGE_ENABLE_OF_LIBFDT") > Signed-off-by: Michal Simek <michal.si...@amd.com> > --- > > arch/arm/lib/bootm.c | 2 -- > arch/riscv/lib/bootm.c | 2 -- > 2 files changed, 4 deletions(-)
Reviewed-by: Rick Chen <r...@andestech.com>