]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
sandbox: Adjust pre-console address to avoid conflict
authorSimon Glass <sjg@chromium.org>
Mon, 4 Dec 2017 20:48:18 +0000 (13:48 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 7 Dec 2017 20:17:00 +0000 (15:17 -0500)
We cannot use sandbox memory at 0 since other things use memory at that
address. Move it up out of the way.

Note that the pre-console buffer is currently disabled with sandbox, but
this change will avoid confusion if it is manually enabled.

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

index 08eec8ecc6f9495353dc8e62b9445a543ae20e23..b8d1e8cf31aa02eb6317f7c8de6efc28712fe182 100644 (file)
@@ -15,7 +15,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=0
+CONFIG_PRE_CON_BUF_ADDR=0x100000
 CONFIG_CMD_CPU=y
 CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y