[PATCH] arm: riscv: Remove additional ifdef from code guarded by CONFIG_IS_ENABLED
Rick Chen
rickchen36 at gmail.com
Mon Jul 11 09:26:57 CEST 2022
> From: Michal Simek <michal.simek at amd.com>
> Sent: Thursday, July 07, 2022 4:47 PM
> To: Simon Glass <sjg at chromium.org>; u-boot at lists.denx.de; git at xilinx.com
> Cc: Alexandru Gagniuc <mr.nuke.me at gmail.com>; Jan Kiszka <jan.kiszka at siemens.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; Marek Vasut <marex at denx.de>; Peter Hoyes <Peter.Hoyes at arm.com>; Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Tom Rini <trini at 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.simek at amd.com>
> ---
>
> arch/arm/lib/bootm.c | 2 --
> arch/riscv/lib/bootm.c | 2 --
> 2 files changed, 4 deletions(-)
Reviewed-by: Rick Chen <rick at andestech.com>
More information about the U-Boot
mailing list