[PATCH v1 4/6] ARM: boards: protonic-imx6: Don't register SD with bbu

Oleksij Rempel o.rempel at pengutronix.de
Wed Aug 18 05:19:43 PDT 2021


From: Robin van der Gracht <robin at protonic.nl>

SD boot is only used during development. Since the usdhc interface index
differs from board to board removing it is easier than adding another
board variable/flag.

Signed-off-by: Robin van der Gracht <robin at protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
 arch/arm/boards/protonic-imx6/board.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c
index 7368f3458f..38630dc2af 100644
--- a/arch/arm/boards/protonic-imx6/board.c
+++ b/arch/arm/boards/protonic-imx6/board.c
@@ -427,10 +427,6 @@ static int prt_imx6_bbu(struct prt_imx6_priv *priv)
 	if (ret)
 		goto exit_bbu;
 
-	ret = imx6_bbu_internal_mmc_register_handler("SD", "/dev/mmc0", 0);
-	if (ret)
-		goto exit_bbu;
-
 	return 0;
 exit_bbu:
 	dev_err(priv->dev, "Failed to register bbu: %i\n", ret);
-- 
2.30.2




More information about the barebox mailing list