board: dh_stm32mp1: Only print board code with CONFIG_SPL_DISPLAY_PRINT
PATCH 2/2 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.
--- board/dhelectronics/dh_stm32mp1/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
board/dhelectronics/dh_stm32mp1/board.c +3 -2
@@ -229,8 +229,9 @@ static void board_get_coding_straps(void)gpio_free_list_nodev (gpio, ret); -printf ("Code: SoM:rev=%d,ddr3=%d Board:rev=%d\n" , - somcode, ddr3code, brdcode); +if (CONFIG_IS_ENABLED (DISPLAY_PRINT )) +printf ("Code: SoM:rev=%d,ddr3=%d Board:rev=%d\n" , + somcode, ddr3code, brdcode); } int board_stm32mp1_ddr_config_name_match(struct udevice *dev,
Signature · 1 line
2.41.0
Quoted 4 lines · Harald Seiler
Ensure that the SoM and board code information is only printed when
CONFIG_SPL_DISPLAY_PRINTis set.Signed-off-by Harald Seiler <[email protected]>
Quoted 7 lines · Marek Vasut
Quoted 4 lines · Harald Seiler
Ensure that the SoM and board code information is only printed when
CONFIG_SPL_DISPLAY_PRINTis set.Signed-off-by Harald Seiler <[email protected]>Reviewed-by Marek Vasut <[email protected]>
Apply on stm32/next
Thanks
Quoted 7 lines · Patrice CHOTARD
Quoted 4 lines · Marek Vasut
Quoted 3 lines · Harald Seiler
Ensure that the SoM and board code information is only printed when
CONFIG_SPL_DISPLAY_PRINTis set.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Harald Seiler <[email protected]>Reviewed-by Marek Vasut <[email protected]>Apply on stm32/next
This all should be on master, since we're way before 2024.01-rc1 now , 2023.10 was just released on Monday.
Quoted 8 lines · Marek Vasut
Quoted 7 lines · Patrice CHOTARD
Quoted 4 lines · Marek Vasut
Quoted 3 lines · Harald Seiler
Ensure that the SoM and board code information is only printed when
CONFIG_SPL_DISPLAY_PRINTis set.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Harald Seiler <[email protected]>Reviewed-by Marek Vasut <[email protected]>Apply on stm32/next
This all should be on master, since we're way before 2024.01-rc1 now , 2023.10 was just released on Monday.
Hi Marek
Yes it was my intention, thanks for checking ;-)
Patrice
Quoted 16 lines · Patrice CHOTARD
Quoted 13 lines · Marek Vasut
Quoted 12 lines · Patrice CHOTARD
Quoted 7 lines · Marek Vasut
Quoted 4 lines · Harald Seiler
Ensure that the SoM and board code information is only printed when
CONFIG_SPL_DISPLAY_PRINTis set.Signed-off-by Harald Seiler <[email protected]>Reviewed-by Marek Vasut <[email protected]>
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Apply on stm32/next
This all should be on master, since we're way before 2024.01-rc1 now , 2023.10 was just released on Monday.
Hi Marek
Yes it was my intention, thanks for checking ;-)
You're welcome.