From: sbabic at denx.de Date: Thu, 8 Apr 2021 22:58:46 +0200 (CEST) Subject: [PATCH 1/3] board: freescale: imxrt1020-evk: fix console is not enabled while init dram In-Reply-To: <20210404182135.1243077-1-giulio.benetti@benettiengineering.com> Message-ID: <20210408205846.A8E3F8187C@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > While initializing dram in spl_dram_init(), mdelay() is called that in > order calls get_ticks() that verifies if timer exists, if doesn't, it > throws a panic(), but since preloader_console_init() has still not been > called those panic()s will fail. This doesn't help debugging, so let's > setup console before calling spl_dram_init() by moving it after > spl_dram_init(). > Signed-off-by: Giulio Benetti Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================