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

Alexander Graf agraf at csgraf.de
Fri Sep 27 15:22:12 UTC 2019


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.


Alex



More information about the U-Boot mailing list