
On Thu, Mar 1, 2012 at 3:30 AM, Dirk Behme dirk.behme@de.bosch.com wrote:
Ah, thanks for the explanation! :)
This does mean that you want the change in both, U-Boot and kernel, correct?
Correct.
Yes, we definitely should look at which parts are common. I haven't looked at the details, but at least the register definitions [1] are the same?
Yes, I can write a common code for this.
1. The aips register definitions:
/* AIPS registers */ struct aipstz_regs { u32 mprot0; u32 mprot1; u32 rsvd[0xe]; u32 opacr0; u32 opacr1; u32 opacr2; u32 opacr3; u32 opacr4; };
should be present in each imx-regs.h file (for mx31/35/51/53/6), right?
Or is there a common .h file I could use for placing it in just one location?
2. What would be a good location for putting the common imx_init_aips function?
Regards,
Fabio Estevam