[U-Boot] [PATCH u-boot] ARM: arch-meson: build memory banks using reported memory from registers

Andreas Färber afaerber at suse.de
Sat Nov 25 08:04:19 PST 2017


Hi Neil,

Am 25.11.2017 um 10:54 schrieb Neil Armstrong:
> Le 24/11/2017 23:35, Simon Glass a écrit :
>> On 20 November 2017 at 08:36, Neil Armstrong <narmstrong at baylibre.com> wrote:
>>> diff --git a/arch/arm/include/asm/arch-meson/gxbb.h b/arch/arm/include/asm/arch-meson/gxbb.h
>>> index 74d5290..117f796 100644
>>> --- a/arch/arm/include/asm/arch-meson/gxbb.h
>>> +++ b/arch/arm/include/asm/arch-meson/gxbb.h
>>> @@ -7,10 +7,27 @@
>>>  #ifndef __GXBB_H__
>>>  #define __GXBB_H__
>>>
>>> +#define GXBB_FIRMWARE_MEM_SIZE 0x1000000
>>> +
>>> +#define GXBB_AOBUS_BASE                0xc8100000
>>
>> Does this not come from the device tree?
> 
> Yes it could.

FTR I had prepared an even more hardcoded patch for the Vega S95 before
(wanted to avoid three configs for three models):

https://github.com/afaerber/u-boot/commit/93145dda0b9e557393edcce4dcc36774394ddb2a

Please keep me in the loop here.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)



More information about the linux-amlogic mailing list