瀏覽代碼

board/BuR/common: use SYS_CONSOLE_OVERWRITE

We don't want that CONSOLE is redirected to LCD upon init, we rather prefer
that console is still on the serial line.

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Hannes Petermaier 10 年之前
父節點
當前提交
e52e9cc77f
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4 0
      board/BuR/common/common.c
  2. 2 0
      include/configs/bur_am335x_common.h

+ 4 - 0
board/BuR/common/common.c

@@ -641,3 +641,7 @@ int board_mmc_init(bd_t *bis)
 	return omap_mmc_init(1, 0, 0, -1, -1);
 }
 #endif
+int overwrite_console(void)
+{
+	return 1;
+}

+ 2 - 0
include/configs/bur_am335x_common.h

@@ -142,6 +142,8 @@
 #define CONFIG_SYS_PROMPT		"U-Boot (BuR V2.0)# "
 #define CONFIG_SYS_CONSOLE_INFO_QUIET
 #define CONFIG_ENV_OVERWRITE		/* Overwrite ethaddr / serial# */
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
 
 /* As stated above, the following choices are optional. */
 #define CONFIG_SYS_LONGHELP