From: Robin van der Gracht <[email protected]>

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 <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
---
 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


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to