[U-Boot] [PATCH v2 5/6] km83xx: add common support for km8309 boards

Kim Phillips kim.phillips at freescale.com
Tue Oct 23 23:10:41 CEST 2012


On Thu, 11 Oct 2012 10:13:09 +0200
Gerlando Falauto <gerlando.falauto at keymile.com> wrote:

> +++ b/board/keymile/km83xx/km83xx.c
> @@ -56,7 +56,7 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
>  	{5,  2, 1, 0, 1}, /* UART2_RTS */
>  	{5,  3, 2, 0, 2}, /* UART2_SIN */
>  	{5,  1, 2, 0, 3}, /* UART2_CTS */
> -#else
> +#elseif !defined(CONFIG_MPC8309)

Applied 6 out of 6 patches, and fixed the build errors this caused
for kmcoge5ne and kmeter1:

Configuring for kmcoge5ne - Board: km8360, Options: KMCOGE5NE
km83xx.c:59:2: error: invalid preprocessing directive #elseif
make: *** [board/keymile/km83xx/libkm83xx.o] Error 2
powerpc-linux-size: './u-boot': No such file
km83xx.c:59:2: error: invalid preprocessing directive #elseif
make[1]: *** No rule to make target `.depend', needed by `libkm83xx.o'.  Stop.
make: *** [board/keymile/km83xx/libkm83xx.o] Error 2
Configuring for kmeter1 - Board: km8360, Options: KMETER1
km83xx.c:59:2: error: invalid preprocessing directive #elseif
make: *** [board/keymile/km83xx/libkm83xx.o] Error 2
powerpc-linux-size: './u-boot': No such file
km83xx.c:59:2: error: invalid preprocessing directive #elseif
make[1]: *** No rule to make target `.depend', needed by `libkm83xx.o'.  Stop.
make: *** [board/keymile/km83xx/libkm83xx.o] Error 2

please be more careful in the future.

Thanks,

Kim



More information about the U-Boot mailing list