board: dh_stm32mp1: Only print board code with CONFIG_SPL_DISPLAY_PRINT
Ensure that the SoM and board code information is only printed when CONFIG_SPL_DISPLAY_PRINT is set. Signed-off-by: Harald Seiler <hws@denx.de> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:

committed by
Patrice Chotard

parent
719a8759cd
commit
07cdd22c38
@@ -229,6 +229,7 @@ static void board_get_coding_straps(void)
|
|||||||
|
|
||||||
gpio_free_list_nodev(gpio, ret);
|
gpio_free_list_nodev(gpio, ret);
|
||||||
|
|
||||||
|
if (CONFIG_IS_ENABLED(DISPLAY_PRINT))
|
||||||
printf("Code: SoM:rev=%d,ddr3=%d Board:rev=%d\n",
|
printf("Code: SoM:rev=%d,ddr3=%d Board:rev=%d\n",
|
||||||
somcode, ddr3code, brdcode);
|
somcode, ddr3code, brdcode);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user