[U-Boot] [PATCH 15/19] dm: powerpc: ppc4xx: Move glacier to use driver model for serial
Simon Glass
sjg at chromium.org
Mon Jan 26 14:33:58 CET 2015
Hi Stefan,
On 26 January 2015 at 02:35, Stefan Roese <sr at denx.de> wrote:
> On 26.01.2015 10:23, Stefan Roese wrote:
>>>
>>> diff --git a/board/amcc/canyonlands/Kconfig
>>> b/board/amcc/canyonlands/Kconfig
>>> index 0fc6877..cbc5ff9 100644
>>> --- a/board/amcc/canyonlands/Kconfig
>>> +++ b/board/amcc/canyonlands/Kconfig
>>> @@ -29,4 +29,13 @@ config ARCHES
>>>
>>> endchoice
>>>
>>> +config DM
>>> + default y
>>> +
>>> +config DM_SERIAL
>>> + default y
>>> +
>>> +config SYS_MALLOC_F_LEN
>>> + default 0x400
>>> +
>>
>>
>> Hmmm. This does not seem to work. With your patch series applied on
>> current top-of-tree I get this error (for glacier_ramboot or
>> canyonlands):
>>
>> $ make -s -j10
>> board/amcc/canyonlands/Kconfig:38:warning: config symbol defined without
>> type
>> drivers/serial/serial-uclass.c:29:2: error: #error "Serial is required
>> before relocation - define CONFIG_SYS_MALLOC_F_LEN to make this work"
>> make[1]: *** [drivers/serial/serial-uclass.o] Error 1
>>
>> Somehow the CONFIG_SYS_MALLOC_F_LEN define is not available in the
>> .config used. Do you have any idea why it might be missing?
>
>
> Okay. Found it. Its the missing type here. I'll send some follow-up patches
> once I have all tested on canyonlands here.
OK good. Also see u-boot-dm branch ppc-working if you need more context.
Regards,
Simon
More information about the U-Boot
mailing list