2 Oct
2012
2 Oct
'12
11:37 a.m.
On Tue, Oct 02, 2012 at 10:48:53AM +0300, Peter Ujfalusi wrote:
I also agree that ifdef is not a good solution. It is better to have this information passed as device_data and via DT it can be decided based on the compatible property for the device.
That's not really the problem here - the problem is that the APIs used to get the SRAM are DaVinci only so it's not possible to build on OMAP or other platforms. The SRAM code needs to move to a standard API.