From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 15 May 2014 11:20:10 +0200 Subject: [U-Boot] [PATCH 12/12] imx: ventana: switch to SPL In-Reply-To: References: <1398716258-8420-1-git-send-email-tharvey@gateworks.com> <1398716258-8420-13-git-send-email-tharvey@gateworks.com> <5369FCEE.5090502@denx.de> Message-ID: <537486CA.5090800@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 Hi Tim, On 15/05/2014 00:32, Tim Harvey wrote: > > I figured this one out - it has nothing to do with the order of > calling arch_cpu_init() its that the MMDC isn't always 'ready' by the > time the BSS is cleared and thus in my failure case the BSS isn't > getting entirely cleared which causes the spl_image global var to not > be cleared as expected and triggers an invalid codepath. I will update > the mmdc config patch when I find the right solution. Thanks for the explanation ! I cannot guess why arch_cpu_init() should be called later. Nice you found the reason ! > > Sorry for the noise. There was no noise ;-) Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 =====================================================================