[PATCH 24/41] ARM: omap: un-merge plat/sram.c

Tony Lindgren tony at atomide.com
Wed Apr 20 23:32:03 PDT 2022


* Arnd Bergmann <arnd at kernel.org> [220419 13:37]:
> From: Arnd Bergmann <arnd at 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




More information about the linux-arm-kernel mailing list