Skip to content

Switch internal registers address to 0xF1 on Armada 370/XP

Jason Cooper linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 9 patches 0 repliesNew

6 of 9 patches are in this archive. The cover letter announces 9.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9arm: mvebu: fix length of SATA registers area in .dtsi+0 -00 replies
2/9arm: mvebu: fix length of Ethernet registers area in .dtsi+0 -00 replies
3/9arm: mvebu: mark functions of armada-370-xp.c as static+0 -00 replies
6/9arm: mvebu: move cache and mvebu-mbus initialization laterarch/arm/mach-mvebu/armada-370-xp.c+2 -61 reply
6/9arm: mvebu: move cache and mvebu-mbus initialization later+0 -01 reply
6/9arm: mvebu: move cache and mvebu-mbus initialization later+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP
Quoted 4 lines · Thomas Petazzoni

Dear Jason Cooper,

On Wed, 22 May 2013 12:49:36 -0400, Jason Cooper wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

As far as I know, a DT-capable bootloader doesn't pass any ATAG. The ARM register that was used to pass the pointer to the ATAGS is now used to pass the pointer to the DTB in memory.

So we could look for the ATAG magic or the dtb magic at that address, then we know if we have an old or new bootloader...

No, because you can use an old bootloader, and still do some old-style

Did you mean 'new bootloader'?

Quoted 7 lines

appended-DTB booting, in which case you have a new bootloader (registers mapped at 0xf1), but you see the ATAG magic, which will make you think you booted from an old bootloader (registers mapped at 0xd0).

For example, I'm currently booting alternatively with an old and a new bootloader (to test that things work properly), and in both cases I'm booting old style, DTB-appended, with ATAGs.

Is this something users would experience? I think it is fairly safe to say that once dt-able bootloaders are shipped, they will provide a dtb. So, OF_DT_MAGIC == new bootloader might hold true for users.

thx,

Jason.