![](https://secure.gravatar.com/avatar/12aa3f77a91d74b229d4a7f4f46ec0d9.jpg?s=120&d=mm&r=g)
21 Apr
2022
21 Apr
'22
8:32 a.m.
* Arnd Bergmann arnd@kernel.org [220419 13:37]:
From: Arnd Bergmann arnd@arndb.de
The sram initialization code is the only shared omap1/2 code that is not a standalone driver, but it is very short. Having two copies of this code means some duplication of the sources, but actually saves object code size as it can be inlined better.
FYI, the sram code should eventually be updated to use drivers/misc/sram.c, I recall there being some issues to deal with for PM related code though. Probably the PM related save and restore could be now handled with cpu_pm.
Regards,
Tony