git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719a875
)
board: dh_stm32mp1: Only print board code with CONFIG_SPL_DISPLAY_PRINT
author
Harald Seiler
<hws@denx.de>
Wed, 27 Sep 2023 12:46:25 +0000
(14:46 +0200)
committer
Patrice Chotard
<patrice.chotard@foss.st.com>
Wed, 4 Oct 2023 11:26:03 +0000
(13:26 +0200)
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>
board/dhelectronics/dh_stm32mp1/board.c
patch
|
blob
|
history
diff --git
a/board/dhelectronics/dh_stm32mp1/board.c
b/board/dhelectronics/dh_stm32mp1/board.c
index
f9cfabe
..
b933761
100644
(file)
--- a/
board/dhelectronics/dh_stm32mp1/board.c
+++ b/
board/dhelectronics/dh_stm32mp1/board.c
@@
-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,