From: Alexander Feilke <[email protected]> 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]> --- 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

