[U-Boot] [PATCH 15/19] dm: powerpc: ppc4xx: Move glacier to use driver model for serial
Stefan Roese
sr at denx.de
Mon Jan 26 10:23:33 CET 2015
Hi Simon,
finally I'm testing your patchset. Again sorry for the big delay
here.
On 15.12.2014 15:19, Simon Glass wrote:
> Adjust Kconfig to default to driver model for glacier, canyonlands and
> arches.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> board/amcc/canyonlands/Kconfig | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> 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?
Thanks,
Stefan
More information about the U-Boot
mailing list