Merge branch '2022-08-04-Kconfig-migrations'
[platform/kernel/u-boot.git] / common / board_r.c
index ed29069..e702f02 100644 (file)
@@ -14,7 +14,9 @@
 #include <bootstage.h>
 #include <cpu_func.h>
 #include <exports.h>
+#ifdef CONFIG_MTD_NOR_FLASH
 #include <flash.h>
+#endif
 #include <hang.h>
 #include <image.h>
 #include <irq_func.h>