From: Marek Vasut Date: Sun, 16 Sep 2012 14:07:24 +0000 (+0200) Subject: serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files X-Git-Tag: v2013.01-rc1~343 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bfb3127938edf672277ec745e1e2d7d5cad9dbff;p=u-boot serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files Some of the boards using the mpc512x serial driver didn't properly define which PSC console to use. This caused breakage when building with CONFIG_SERIAL_MULTI enabled. Fix this by defining the default PSC console. Signed-off-by: Marek Vasut Cc: Marek Vasut Cc: Tom Rini Cc: Anatolij Gustschin Cc: Stefan Roese --- diff --git a/include/configs/aria.h b/include/configs/aria.h index b21b495c7f..0b31c50daf 100644 --- a/include/configs/aria.h +++ b/include/configs/aria.h @@ -322,6 +322,7 @@ * Serial console configuration */ #define CONFIG_PSC_CONSOLE 3 /* console on PSC3 */ +#define CONFIG_SYS_PSC3 #if CONFIG_PSC_CONSOLE != 3 #error CONFIG_PSC_CONSOLE must be 3 #endif diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h index b41bda9c64..cafc273c8c 100644 --- a/include/configs/mecp5123.h +++ b/include/configs/mecp5123.h @@ -222,6 +222,7 @@ * Serial console configuration */ #define CONFIG_PSC_CONSOLE 3 /* console is on PSC3 */ +#define CONFIG_SYS_PSC3 #if CONFIG_PSC_CONSOLE != 3 #error CONFIG_PSC_CONSOLE must be 3 #endif diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h index 9d1327fada..3f55d354ef 100644 --- a/include/configs/mpc5121ads.h +++ b/include/configs/mpc5121ads.h @@ -290,6 +290,7 @@ * Serial console configuration */ #define CONFIG_PSC_CONSOLE 3 /* console is on PSC3 */ +#define CONFIG_SYS_PSC3 #if CONFIG_PSC_CONSOLE != 3 #error CONFIG_PSC_CONSOLE must be 3 #endif