The Riotboard boots fine from eMMC boot partitions, so use them to store
barebox.

Signed-off-by: Sascha Hauer <[email protected]>
---
 arch/arm/boards/embest-riotboard/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/embest-riotboard/board.c 
b/arch/arm/boards/embest-riotboard/board.c
index ebaff48388..83fbf0ee57 100644
--- a/arch/arm/boards/embest-riotboard/board.c
+++ b/arch/arm/boards/embest-riotboard/board.c
@@ -21,7 +21,7 @@
 
 static int riotboard_probe(struct device *dev)
 {
-       imx6_bbu_internal_mmc_register_handler("emmc", "/dev/mmc3.barebox",
+       imx6_bbu_internal_mmcboot_register_handler("emmc", "/dev/mmc3",
                        BBU_HANDLER_FLAG_DEFAULT);
        imx6_bbu_internal_mmc_register_handler("sd", "/dev/mmc2", 0);
 
-- 
2.47.3


Reply via email to