]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: riscv: Remove additional ifdef from code guarded by CONFIG_IS_ENABLED
authorMichal Simek <michal.simek@amd.com>
Thu, 7 Jul 2022 08:47:16 +0000 (10:47 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:23:54 +0000 (08:23 +0200)
commitb09e462482b4b84f5d99986514db5fe8d10f4c2f
tree0c52237884fc56f1deda2fc6ad208cc172d965ca
parente3521e9c69af1818fac28d980bf956fc8a7ceabe
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@amd.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Link: https://lore.kernel.org/r/f8e3ff9124195cbd957874de9a65ef79760ef5e7.1657183634.git.michal.simek@amd.com
arch/arm/lib/bootm.c
arch/riscv/lib/bootm.c