Thread (4 messages) flat view 4 messages, 2 authors, 2014-08-13

PL310 cache initialization/fixup for BCM63138

From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2014-08-13 18:09:19

Hi Russell, Arnd,

The PL310 cache present on BCM63138 comes up with wrong values out of
reset in particular, I need to at least override the way-size to be
32KiB otherwise.

Right now, I am overriding the auxiliary control register by supplying a
non 0xffffffff aux_ctrl_mask to l2x0_of_init().

Should I rather use a separate compatible string for it and perform the
"fixup" in a separate of_parse() callback, or in a separate fixup()
callback?

Or is it recommended to keep overriding the aux_ctrl_mask as part of the
call to l2x0_of_init()?

Thanks!
--
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help