]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Enable console recording and silent console
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:49 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:50 +0000 (20:27 -0700)
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>
configs/sandbox_defconfig
include/configs/sandbox.h

index 0b1b41c36e3d8381b16fa4b01a55fa3217d07de8..40538488219bb0f08514bccaead553de2b64dc6f 100644 (file)
@@ -1,3 +1,4 @@
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_PCI=y
 CONFIG_DEFAULT_DEVICE_TREE="sandbox"
 CONFIG_FIT=y
@@ -16,6 +17,8 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_TPM_TEST=y
+CONFIG_CONSOLE_RECORD=y
+CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000
 CONFIG_OF_CONTROL=y
 CONFIG_OF_HOSTFILE=y
 CONFIG_REGMAP=y
index b0fe5010dc807bdd237b37a95f66fa5251a41fa9..fb1bfb7faccf39ddf67153cce61d463734069ae2 100644 (file)
@@ -65,6 +65,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)