[U-Boot] sunxi: regression in dram init for h3 board

Hi,
The commit: a8011eb84dfac5187cebf00ed8bc981bdb5c1fa1 Author: Olliver Schinagl oliver@schinagl.nl Date: Wed Nov 21 20:05:25 2018 +0200
sunxi: board: Print error after power initialization fails
causes a regression in DRAM init/detection on (at least) the sunxi H3 nanopi board I have. (The exact board isn't actually upstream yet, but it's compatible with the nanopi-neo or neo-air)
Good behaviour:
U-Boot SPL 2019.01-rc1-00293-g0c5b0ff71a (Dec 13 2018 - 16:46:41 +0000) DRAM: 512 MiB Trying to boot from FEL <snipped normal FEL boot output>
Bad behaviour:
U-Boot spl 2019.01-rc1-00101-ga8011eb84d (Dec 13 2018 - 16:44:48 +0000) DRAM: 0 MiB ### ERROR ### Please RESET the board ###
Confirmed the bisection by reverting this patch on current master.
I'm not expert in this area to know enough about the cause. The description of the commit sounds perfectly reasonable :)
Cheers, Karl P
participants (1)
-
Karl Palsson