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

Robert Deliën robert at delien.nl
Fri Feb 3 11:38:06 CET 2012


> You can write:
> writeb(19 , &clkctrl_regs->hw_clkctrl_frac0);

Yes, for the first byte I can (and do), but the three higher bytes
would get ugly with this method:
writeb(bitset >> 8, (unit8_t*)&clkctrl_regs->hw_clkctrl_frac0 + 1);


More information about the U-Boot mailing list