summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-07 17:34:40 -0700
committerTom Rini <trini@konsulko.com>2021-03-12 09:57:29 -0500
commitbef1b283354fdd055962b7ad5ab9f59d75a11bd7 (patch)
treeece0dc11d2c4ea0de0670c14c214138fad003d5c
parent8d16ebdf81cda3e07eb76cd7f2efc52cbaf0475b (diff)
downloadu-boot-bef1b283354fdd055962b7ad5ab9f59d75a11bd7.tar.gz
u-boot-bef1b283354fdd055962b7ad5ab9f59d75a11bd7.tar.xz
u-boot-bef1b283354fdd055962b7ad5ab9f59d75a11bd7.zip
sandbox: Drop the 'starting...' message
This message is annoying since it is only useful for testing. Drop it and update the test to cope. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/sandbox/cpu/start.c1
-rw-r--r--test/py/tests/test_log.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index c4c4128d46..e87365e800 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -491,7 +491,6 @@ int main(int argc, char *argv[])
gd->reloc_off = (ulong)gd->arch.text_base;
/* sandbox test: log functions called before log_init in board_init_f */
- log_info("sandbox: starting...\n");
log_debug("debug: %s\n", __func__);
/* Do pre- and post-relocation init */
diff --git a/test/py/tests/test_log.py b/test/py/tests/test_log.py
index f889120f2b..140dcb9aa2 100644
--- a/test/py/tests/test_log.py
+++ b/test/py/tests/test_log.py
@@ -45,5 +45,4 @@ def test_log_dropped(u_boot_console):
cons = u_boot_console
cons.restart_uboot()
output = cons.get_spawn_output().replace('\r', '')
- assert 'sandbox: starting...' in output
assert (not 'debug: main' in output)