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:
1937fdb
)
ram: stm32mp1: Only print RAM config with CONFIG_SPL_DISPLAY_PRINT
author
Harald Seiler
<hws@denx.de>
Wed, 27 Sep 2023 12:44:40 +0000
(14:44 +0200)
committer
Patrice Chotard
<patrice.chotard@foss.st.com>
Wed, 4 Oct 2023 11:26:03 +0000
(13:26 +0200)
Ensure that the RAM configuration line is only printed when
CONFIG_SPL_DISPLAY_PRINT is set.
Signed-off-by: Harald Seiler <hws@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/ram/stm32mp1/stm32mp1_ram.c
patch
|
blob
|
history
diff --git
a/drivers/ram/stm32mp1/stm32mp1_ram.c
b/drivers/ram/stm32mp1/stm32mp1_ram.c
index
a6c19af
..
2808d07
100644
(file)
--- a/
drivers/ram/stm32mp1/stm32mp1_ram.c
+++ b/
drivers/ram/stm32mp1/stm32mp1_ram.c
@@
-126,7
+126,8
@@
static int stm32mp1_ddr_setup(struct udevice *dev)
dev_dbg(dev, "no st,mem-name\n");
return -EINVAL;
}
- printf("RAM: %s\n", config.info.name);
+ if (CONFIG_IS_ENABLED(DISPLAY_PRINT))
+ printf("RAM: %s\n", config.info.name);
for (idx = 0; idx < ARRAY_SIZE(param); idx++) {
ret = ofnode_read_u32_array(node, param[idx].name,