From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Sun, 30 Dec 2018 00:23:49 +0530 Subject: [U-Boot] [linux-sunxi] [PATCH] Revert "sunxi: board: Print error after power initialization fails" In-Reply-To: <20181219130039.16990-1-andre.przywara@arm.com> References: <20181219130039.16990-1-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Dec 19, 2018 at 6:32 PM Andre Przywara wrote: > > From: "From: Karl Palsson" > > Commit a8011eb84dfa("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. Better mark this as TODO somewhere, may be some one look it later. > > This reverts commit a8011eb84dfac5187cebf00ed8bc981bdb5c1fa1. > > Tested-By: Priit Laes > Signed-off-by: Karl Palsson > Signed-off-by: Andre Przywara Applied to u-boot-sunxi/master