Why is FDT relocation needed in stm32mp1 u-boot ?
Hi all,
I am trying to understand this commit [1] in u-boot, which removes the fdt_high variable from the environment for stm32mp1 boards.
Before this commit, the FDT was initially loaded from persistent storage to address 0xc4000000, and then used in place:
## Flattened Device Tree blob at c4000000
Booting using the fdt blob at 0xc4000000
XIP Kernel Image ... OK
Using Device Tree in place at c4000000, end c40160d0
After this commit, the FDT is loaded from persistent storage to address 0xc4000000, and then relocated to a different position:
## Flattened Device Tree blob at c4000000
Booting using the fdt blob at 0xc4000000
XIP Kernel Image
Loading Device Tree to cffea000, end cffffc12 ... OK
Why is the extra relocation needed? What problem does it solve?
Thank you,
Guillermo
[1]: https://github.com/STMicroelectronics/u-boot/commit/ec244f6770454e8fd0bb3a33a36339de53e5f59a
