From: Frieder Schrempf <[email protected]>

The first try might fail and we are retrying for smaller DDR sizes
after that. Don't print an error message to not confuse the users
of 1GB and 2GB variants.

Signed-off-by: Frieder Schrempf <[email protected]>
---
 board/kontron/sl-mx8mm/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/kontron/sl-mx8mm/spl.c b/board/kontron/sl-mx8mm/spl.c
index a5cdd2ab6d1..ebb883f861a 100644
--- a/board/kontron/sl-mx8mm/spl.c
+++ b/board/kontron/sl-mx8mm/spl.c
@@ -77,7 +77,7 @@ static void spl_dram_init(void)
         * Try the default DDR settings in lpddr4_timing.c to
         * comply with the Micron 4GB DDR.
         */
-       if (!ddr_init(&dram_timing) && check_ram_available(SZ_4G)) {
+       if (!ddr_init_silent_fail(&dram_timing) && check_ram_available(SZ_4G)) {
                size = 4;
        } else {
                /*
-- 
2.55.0

Reply via email to