]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board/BuR/common: use SYS_CONSOLE_OVERWRITE
authorHannes Petermaier <hannes.petermaier@br-automation.com>
Tue, 17 Mar 2015 14:31:21 +0000 (15:31 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 17 Mar 2015 14:55:07 +0000 (10:55 -0400)
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>
board/BuR/common/common.c
include/configs/bur_am335x_common.h

index 18e1520b383c9a05fb773fb1c3cf775b1c9f59a4..5ff8a7e0ae967d0679931ff91f74f47784c10931 100644 (file)
@@ -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;
+}
index 377e6cfd67a5908a40c6bbf0391e107d727c28bd..240fc464bc260060c219f996672f1fea49f84c25 100644 (file)
 #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