On Sun, Jun 17, 2012 at 12:49 PM, Stefano Babic <sba...@denx.de> wrote: > I like that there will be support for i.MX23, too. But I dislike that > everything takes the name "MX28". As you suggest in your subject, maybe > it is time to rename directories, and use "mxs" (as in kernel) instead > of mx28.
I have it in my wip branch; I'd like to hold it until I have mx23 working so I have freedom to rework the patches. I can split it on mx28 part and leave mx23 on my branch; this does looks nicer for me. >> +static u8 get_cpu_rev(void) >> +{ >> + struct mx28_digctl_regs *digctl_regs = >> + (struct mx28_digctl_regs *)MXS_DIGCTL_BASE; >> + >> + return readl(&digctl_regs->hw_digctl_chipid) & 0x0000F; >> +} > > Everywhere (i.MX, omap, ...) get_cpu_rev returns u32. The function is > currently exported, too. I change it then. Will fix it. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot