[PATCH v4 7/7] boards: tqma7: call tq-sysinfo setup

Alexander Feilke Alexander.Feilke at ew.tq-group.com
Tue Jun 2 13:57:55 CEST 2026


From: Alexander Feilke <alexander.feilke at ew.tq-group.com>

Probe TQ sysinfo drivers to print device info from eeprom during boot.

Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Alexander Feilke <alexander.feilke at ew.tq-group.com>
---
 board/tq/tqma7/tqma7.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/tq/tqma7/tqma7.c b/board/tq/tqma7/tqma7.c
index 30bd155713d..ccf805d5461 100644
--- a/board/tq/tqma7/tqma7.c
+++ b/board/tq/tqma7/tqma7.c
@@ -17,6 +17,7 @@
 
 #include "../common/tq_bb.h"
 #include "../common/tq_som.h"
+#include "../common/tq_sysinfo.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -54,6 +55,7 @@ static const char *tqma7_get_boardname(void)
 int board_late_init(void)
 {
 	const char *bname = tqma7_get_boardname();
+	int ret;
 
 	if (IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG)) {
 		struct tag_serialnr serialnr;
@@ -65,6 +67,10 @@ int board_late_init(void)
 
 	env_set_runtime("board_name", bname);
 
+	ret = tq_common_sysinfo_setup();
+	if (ret)
+		log_err("Sysinfo setup failed: %d\n", ret);
+
 	return tq_bb_board_late_init();
 }
 
-- 
2.34.1



More information about the U-Boot mailing list