[U-Boot] [PATCH v1 2/4] dm: board: complete the initialization of the muxes in initr_dm()

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Oct 2 12:47:47 UTC 2019


This will probe the multiplexer devices that have a "u-boot,mux-autoprobe"
property. As a consequence they will be put in their idle state.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
---

 common/board_r.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/board_r.c b/common/board_r.c
index d6fb5047a2..92a4e2c150 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -32,6 +32,7 @@
 #include <miiphy.h>
 #endif
 #include <mmc.h>
+#include <mux.h>
 #include <nand.h>
 #include <of_live.h>
 #include <onenand_uboot.h>
@@ -310,6 +311,7 @@ static int initr_dm(void)
 	if (ret)
 		return ret;
 #endif
+	dm_mux_init();
 
 	return 0;
 }
-- 
2.17.1



More information about the U-Boot mailing list