Re: [U-Boot] [PATCH 1/2] v2 i.MX28: Fix ref_cpu clock setup

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
participants (2)
-
Marek Vasut
-
Robert Deliën