diff options
| author | Alexander Feilke <[email protected]> | 2026-06-02 13:57:55 +0200 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-05 12:56:32 -0300 |
| commit | 33d46e70790cd4fe61a7c19d365d1c8630183ef8 (patch) | |
| tree | 0063de5ea5089d3ff49cefe365499473bb25cfaf | |
| parent | 0a3ccbdd25f617ea0b91becb5fb8ffc5a2abcffd (diff) | |
boards: tqma7: call tq-sysinfo setup
Probe TQ sysinfo drivers to print device info from eeprom during boot.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Alexander Feilke <[email protected]>
| -rw-r--r-- | board/tq/tqma7/tqma7.c | 6 |
1 files changed, 6 insertions, 0 deletions
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(); } |
