
Allow console recording so that tests can use it. Also allow the console output to be suppressed, to reduce test output 'noise'.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: None
configs/sandbox_defconfig | 3 +++ include/configs/sandbox.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 7fc8792..ac3cce2 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -69,3 +69,6 @@ CONFIG_REMOTEPROC_SANDBOX=y CONFIG_CMD_REMOTEPROC=y CONFIG_ADC=y CONFIG_ADC_SANDBOX=y +CONFIG_CONSOLE_RECORD=y +CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000 +CONFIG_SYS_MALLOC_F_LEN=0x2000 diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 9e66da2..f52488b 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -66,6 +66,7 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_SYS_LONGHELP /* #undef to save memory */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ +#define CONFIG_SILENT_CONSOLE
/* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)