Skip to contentSkip to conversation

board/BuR/common: use SYS_CONSOLE_OVERWRITE

PATCH New Hannes Petermaier 2 participants 2 messages Mar 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/BuR/common: use SYS_CONSOLE_OVERWRITE

From: Hannes Petermaier <[email protected]>

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

---

 board/BuR/common/common.c           |    4 ++++
 include/configs/bur_am335x_common.h |    2 ++
 2 files changed, 6 insertions(+)
board/BuR/common/common.c +4 -0
index 18e1520..5ff8a7e 100644
@@ -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;
+}
include/configs/bur_am335x_common.h +2 -0
index 377e6cf..240fc46 100644
@@ -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
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 board/BuR/common: use SYS_CONSOLE_OVERWRITE

Quoted 6 lines · Hannes Petermaier

From: Hannes Petermaier <[email protected]>

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150317/4df9bd1a/attachment.sig>