mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
ram: stm32mp1: Only print RAM config with CONFIG_SPL_DISPLAY_PRINT
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>
This commit is contained in:
parent
1937fdbd47
commit
719a8759cd
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue