diff options
author | Hannes Petermaier <hannes.petermaier@br-automation.com> | 2015-03-17 15:31:21 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-17 10:55:07 -0400 |
commit | e52e9cc77f98f47b1fbbb9081df517ffea2389d7 (patch) | |
tree | fe9e5441a499b336be6def3022963647abc903e8 | |
parent | 323aaaa1e364bf8426a9c8fd5158fe2d155ae7b9 (diff) |
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>
-rw-r--r-- | board/BuR/common/common.c | 4 | ||||
-rw-r--r-- | include/configs/bur_am335x_common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 18e1520b383..5ff8a7e0ae9 100644 --- a/board/BuR/common/common.c +++ b/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; +} diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h index 377e6cfd67a..240fc464bc2 100644 --- a/include/configs/bur_am335x_common.h +++ b/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 |