Commit d63b5b4fbb401e2ffbce5083c7f3d9f8045651ba
1 parent
4e6bafa568
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
sandbox: Enable more console options
Enable the pre-console buffer, displaying the model and post-relocation console announce on sandbox. Also add a model name to the device tree. This allows testing of these features. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
Showing 4 changed files with 5 additions and 1 deletions Side-by-side Diff
arch/sandbox/dts/sandbox.dts
common/Kconfig
... | ... | @@ -488,7 +488,7 @@ |
488 | 488 | |
489 | 489 | config DISPLAY_BOARDINFO |
490 | 490 | bool "Display information about the board during start up" |
491 | - default y if ARM || M68K || MIPS || PPC || XTENSA | |
491 | + default y if ARM || M68K || MIPS || PPC || SANDBOX || XTENSA | |
492 | 492 | help |
493 | 493 | Display information about the board that U-Boot is running on |
494 | 494 | when U-Boot starts up. The board function checkboard() is called |
configs/sandbox_defconfig
include/configs/sandbox.h
... | ... | @@ -41,6 +41,7 @@ |
41 | 41 | |
42 | 42 | #define CONFIG_SYS_LONGHELP /* #undef to save memory */ |
43 | 43 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ |
44 | +#define CONFIG_DISPLAY_BOARDINFO_LATE | |
44 | 45 | |
45 | 46 | /* Print Buffer Size */ |
46 | 47 | #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) |