Switch internal registers address to 0xF1 on Armada 370/XP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP
Quoted 7 lines · Russell King - ARM Linux
Quoted 3 lines · Thomas Petazzoni
But that's not the case. Neither the old nor the new bootloaders are changing the Device Tree in any way that allows us to know whether registers are mapped at
0xd0and0xf1.Who provides this DT blob? Is it already provided with the board, or is it something which is provided by others?
In theory, the board could provide the DT, but we would always be able to provide an updated DT blob if necessary. In practice, the DT blob at the moment is always shipped alongside the kernel, as some interfaces (e.g. the mbus or pci in case of mvebu) are not final yet.
The boot loader has ways to modify that blob in memory, in order to pass the information that traditionally is in the ATAGS and other things like a board specific MAC address. It is straightforward for the bootloader to update properties like the location of the internal registers, once we have specified the binding for the mbus, but not until then.
For older boot loaders that only support ATAGS, the update of the DT blob happens inside of the kernel in arch/arm/boot/compressed/atags_to_fdt.c on the blob that is appended to the zImage.
Arnd