[U-Boot] [PATCH 1/3] ARM: bcm283x: Move BCM283x_BASE to a global variable

Stephen Warren swarren at wwwdotorg.org
Fri Sep 27 16:11:39 UTC 2019


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 at kernel.org wrote:
>>> From: Matthias Brugger <mbrugger at 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?


More information about the U-Boot mailing list