
On Thursday 31 January 2013 10:10 PM, Tom Rini wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/31/2013 12:52 AM, R Sricharan wrote:
The current PRCM structure prototype directly matches the hardware register layout. So there is a need to change this for every new silicon revision which has register space changes.
Avoiding this by making the prototye generic and populating the register addresses seperately for all Socs.
Signed-off-by: R Sricharan r.sricharan@ti.com
[snip]
arch/arm/cpu/armv7/omap4/prcm-regs.c | 267 ++++++++++++ arch/arm/cpu/armv7/omap5/prcm-regs.c | 278 +++++++++++++
These two are missing license information, please fix.
Sorry for missing this. Will send a V2
Otherwise, I like the concept and I think it all looks fine. We stay about the same, binary size wise with all of this, correct?
Yes,i checked this after the change.The spl size for OMAP4 is still 29KB and less than the limit (32KB). The size is never an issue with OMAP5
Regards, Sricharan