[PATCH] ARM: nxp-imx8mq-evk: install Barebox into eMMC boot partitions

Lucas Stach l.stach at pengutronix.de
Mon May 30 10:50:51 PDT 2022


Switch the Barebox update handler to install Barebox in the eMMC boot
partitions, which is preferred due to the capability to do atomic
updates.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/boards/nxp-imx8mq-evk/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/nxp-imx8mq-evk/board.c b/arch/arm/boards/nxp-imx8mq-evk/board.c
index c28107cb1751..8d88bfe8c249 100644
--- a/arch/arm/boards/nxp-imx8mq-evk/board.c
+++ b/arch/arm/boards/nxp-imx8mq-evk/board.c
@@ -40,7 +40,7 @@ static int nxp_imx8mq_evk_init(void)
 	barebox_set_hostname("imx8mq-evk");
 
 	flags = bootsource_get_instance() == 0 ? BBU_HANDLER_FLAG_DEFAULT : 0;
-	imx8m_bbu_internal_mmc_register_handler("eMMC", "/dev/mmc0.barebox", flags);
+	imx8m_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc0", flags);
 
 	flags = bootsource_get_instance() == 1 ? BBU_HANDLER_FLAG_DEFAULT : 0;
 	imx8m_bbu_internal_mmc_register_handler("SD", "/dev/mmc1.barebox", flags);
-- 
2.36.1




More information about the barebox mailing list