image: Drop another #ifdef for FIT
Drop the prenultimate one of these from select_ramdisk().
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/boot/image-board.c b/boot/image-board.c
index 07b7e46..8858a2f 100644
--- a/boot/image-board.c
+++ b/boot/image-board.c
@@ -363,7 +363,9 @@
rd_addr);
}
#if CONFIG_IS_ENABLED(FIT)
- } else {
+ }
+#endif
+ if (CONFIG_IS_ENABLED(FIT) && !select) {
/* use FIT configuration provided in first bootm
* command argument. If the property is not defined,
* quit silently (with -ENOPKG)
@@ -377,7 +379,6 @@
else if (rd_noffset < 0)
return rd_noffset;
}
-#endif
/*
* Check if there is an initrd image at the