From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 6 Feb 2012 13:20:37 +0100 Subject: [U-Boot] [PATCH 1/2] v2 i.MX28: Fix ref_cpu clock setup In-Reply-To: <6EA3E0BCC03CC34B89B01BD57ECBC718F65163@POBOX.postoffice.danego.net> References: <6EA3E0BCC03CC34B89B01BD57ECBC718F65163@POBOX.postoffice.danego.net> Message-ID: <201202061320.37270.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Hi, > > This patch fixes ref_cpu clock setup. This bug leads to a hanging board > after rebooting from the Kernel, due to failing memory size detection: > U-Boot 2011.12-svn342 (Feb 02 2012 - 17:20:00) > > Freescale i.MX28 family > I2C: ready > DRAM: 0 Bytes > > The cause of the bug is register hw_clkctrl_frac0 being accessed as > a 32-bit long, whereas the manual specifically states it can be accessed > as bytes only. > > This patches introduces an 8-bit wide register type, mx28_register_8. > The already existing mx28_register has been renamed mx28_register_32. > > With this patch, U-Boot no longer hangs after an i.mx28 based board > was reset from the Kernel. > > (PS: I hope this email is properly formatted now, after fight our exchange > server for a whole morning and loosing in the end) > btw 2/2 is missing? M