[PATCH v2 04/23] ARM: i.MX8MN: add missing IMD_USED_OF image metadata entries
Marco Felsch
m.felsch at pengutronix.de
Mon Mar 13 06:41:43 PDT 2023
Without the entries the update must be forced if IMD is enabled. Add the
missing IMD_USED_OF to avoid this.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
arch/arm/boards/nxp-imx8mn-evk/lowlevel.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/nxp-imx8mn-evk/lowlevel.c b/arch/arm/boards/nxp-imx8mn-evk/lowlevel.c
index 8e7383c9d2..398dfb33ae 100644
--- a/arch/arm/boards/nxp-imx8mn-evk/lowlevel.c
+++ b/arch/arm/boards/nxp-imx8mn-evk/lowlevel.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <io.h>
+#include <image-metadata.h>
#include <common.h>
#include <debug_ll.h>
#include <mach/imx/debug_ll.h>
@@ -154,5 +155,8 @@ ENTRY_FUNCTION(start_nxp_imx8mn_evk, r0, r1, r2)
relocate_to_current_adr();
setup_c();
+ IMD_USED_OF(imx8mn_evk);
+ IMD_USED_OF(imx8mn_ddr4_evk);
+
nxp_imx8mn_evk_start();
}
--
2.30.2
More information about the barebox
mailing list