ソースを参照

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 <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
Marek Vasut 12 年 前
コミット
bfb3127938
3 ファイル変更3 行追加0 行削除
  1. 1 0
      include/configs/aria.h
  2. 1 0
      include/configs/mecp5123.h
  3. 1 0
      include/configs/mpc5121ads.h

+ 1 - 0
include/configs/aria.h

@@ -322,6 +322,7 @@
  * Serial console configuration
  * Serial console configuration
  */
  */
 #define CONFIG_PSC_CONSOLE		3	/* console on PSC3 */
 #define CONFIG_PSC_CONSOLE		3	/* console on PSC3 */
+#define CONFIG_SYS_PSC3
 #if CONFIG_PSC_CONSOLE != 3
 #if CONFIG_PSC_CONSOLE != 3
 #error CONFIG_PSC_CONSOLE must be 3
 #error CONFIG_PSC_CONSOLE must be 3
 #endif
 #endif

+ 1 - 0
include/configs/mecp5123.h

@@ -222,6 +222,7 @@
  * Serial console configuration
  * Serial console configuration
  */
  */
 #define CONFIG_PSC_CONSOLE	3	/* console is on PSC3 */
 #define CONFIG_PSC_CONSOLE	3	/* console is on PSC3 */
+#define CONFIG_SYS_PSC3
 #if CONFIG_PSC_CONSOLE != 3
 #if CONFIG_PSC_CONSOLE != 3
 #error CONFIG_PSC_CONSOLE must be 3
 #error CONFIG_PSC_CONSOLE must be 3
 #endif
 #endif

+ 1 - 0
include/configs/mpc5121ads.h

@@ -290,6 +290,7 @@
  * Serial console configuration
  * Serial console configuration
  */
  */
 #define CONFIG_PSC_CONSOLE	3	/* console is on PSC3 */
 #define CONFIG_PSC_CONSOLE	3	/* console is on PSC3 */
+#define CONFIG_SYS_PSC3
 #if CONFIG_PSC_CONSOLE != 3
 #if CONFIG_PSC_CONSOLE != 3
 #error CONFIG_PSC_CONSOLE must be 3
 #error CONFIG_PSC_CONSOLE must be 3
 #endif
 #endif