]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Move pre-console buffer out of the way of tracing
authorSimon Glass <sjg@chromium.org>
Mon, 8 Apr 2019 19:20:44 +0000 (13:20 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
These two buffers currently conflict if tracing is enabled. Move the
pre-console buffer and update the documentation.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/sandbox/README.sandbox
configs/sandbox_defconfig

index ed8fac6f786cc5ae3510c6d6e54068f6ca2d19e6..48c1e2b9e7b88d9b7055302d3c8c8975df594111 100644 (file)
@@ -477,6 +477,9 @@ that are mapped into that memory:
       0   CONFIG_SYS_FDT_LOAD_ADDR   Device tree
    e000   CONFIG_BLOBLIST_ADDR       Blob list
   10000   CONFIG_MALLOC_F_ADDR       Early memory allocation
+  f0000   CONFIG_PRE_CON_BUF_ADDR    Pre-console buffer
+ 100000   CONFIG_TRACE_EARLY_ADDR    Early trace buffer (if enabled)
+=
 
 
 --
index bb508a8d02e25ebc55a419ef2f6a6e705edbe4fb..ba28db6d2680cf5400260e49b2b45a9da14a4480 100644 (file)
@@ -16,7 +16,7 @@ CONFIG_CONSOLE_RECORD=y
 CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000
 CONFIG_SILENT_CONSOLE=y
 CONFIG_PRE_CONSOLE_BUFFER=y
-CONFIG_PRE_CON_BUF_ADDR=0x100000
+CONFIG_PRE_CON_BUF_ADDR=0xf0000
 CONFIG_LOG_MAX_LEVEL=6
 CONFIG_LOG_ERROR_RETURN=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y