
On 27.09.19 18:11, Stephen Warren wrote:
On 9/27/19 9:22 AM, Alexander Graf wrote:
On 27.09.19 17:01, Stephen Warren wrote:
On 9/27/19 3:00 AM, matthias.bgg@kernel.org wrote:
From: Matthias Brugger mbrugger@suse.com
We move the per SOC define BCM283x_BASE to a global variable. This is a first step to provide a single binary for several bcm283x SoCs.
How will this work, given that the memory layout is hard-coded into the the DTB?
Hopefully we aren't going to do some kind of nasty bundle-all-the-dtbs-and-select-between-them approach, or edit-the-dtb-at-runtime.
With CONFIG_OF_BOARD the DT comes from the RPi firmware blob which already provides the correct DTB for the target system.
OK. Why does the U-Boot source code contain RPi DTBs then? Were they just not deleted when that CONFIG_ option was enabled, or is the transition to using FW-supplied DTBs still a work-in-progress?
The default option is to not use CONFIG_OF_BOARD. Making that the default is exactly what Matthias was referring to as a later step to enable a single binary.
Alex