Hello,
On 2014-12-22 18:28, Russell King - ARM Linux wrote:
On Mon, Dec 22, 2014 at 11:12:42AM -0600, Nishanth Menon wrote:
On Mon, Dec 22, 2014 at 11:04 AM, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxxx> wrote:
That only leaves the non-DT stuff to worry about this, and from what I
understand, that's going to be removed soon. If we're going to keep
the non-DT stuff, we should implement a new machine_desc hook for it
instead of hijacking one of the existing callbacks.
none of the PL310 support requires non-DT. PL310 is needed for OMAP4
and AM437x both of which are DT only.
Right, so the simple answer for the time being is to kill most of
omap_l2_cache_init(), leaving just the ioremap() behind. Everything
else can go into the machine_desc structures, and OMAP4 and AM437x
can both benefit from initialising the L2 cache at exactly the same
point as most other platforms.
I hope I did it right: https://lkml.org/lkml/2014/12/23/158
Please test, because I have no access to Omap hardware.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html