Commit 44c214dc authored by Committed by Jagan Teki
Revert "sunxi: board: Print error after power initialization fails"
Commit a8011eb8("sunxi: board: Print error after power initialization fails") moved the DRAM init after the increase of the CPU clock frequency. This lead to various DRAM initialisation failures on some boards (hangs or wrong size reported, on a NanoPi Duo2 and OrangePi Zero, for instance). Lowering the CPU frequency significantly (for instance to 408 MHz) seems to work around the problem, so this points to some timing issues in the DRAM code. Debugging this sounds like a larger job, so let's just revert this patch to bring back those boards. Beside this probably unintended change the patch just moved the error message around, so reverting this is not a real loss. This reverts commit a8011eb8. Tested-By: Priit Laes <email@example.com> Signed-off-by: Karl Palsson <firstname.lastname@example.org> Signed-off-by: Andre Przywara <email@example.com> Reviewed-by: Jagan Teki <firstname.lastname@example.org>
Showing with 8 additions and 10 deletions