[PATCH 9/9] arm: mvebu: switch internal register address at runtime if needed

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Wed May 22 10:17:18 EDT 2013


On 05/22/2013 04:04 PM, Andrew Lunn wrote:
> It might be worth cross posting both u-boot and barebox lists, since
> they are somewhat involved as well. Are there any other boot loaders
> used on 370 and XP.

barebox is not neccessary, Thomas and I just merged SoC init to always
map on KW, Dove, and A370/XP. It is in a very early stage (console-only)
and will take some time to actually boot linux. And we have SoC
specific init that can set CP15 there.

> How does this effect dove? It will get compiled into the same multi
> arch kernel as 370/XP. I'm thinking about
> arch/arm/include/debug/mvebu.S which might be shared. Dove is not
> going to have this bit set. Kirkwood could also share this code, now
> that the serial ports are all in the same location.

Dove is difficult because u-boot always remaps and never sets the bit
in CP15 _but_ doesn't hang on writing wrong addresses. So remap by
writing to 0xd0.. will do no harm.

Sebastian



More information about the linux-arm-kernel mailing list