aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/start.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-16 11:14:21 -0500
committerTom Rini <trini@konsulko.com>2021-01-16 11:14:21 -0500
commit14ea1b3635b4af8d9e283e3671f7ee872d50b859 (patch)
treeb8d1c05256b6f160a598656e797071081bd1f61e /arch/sandbox/cpu/start.c
parentb0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b (diff)
parent750c543ca74a80da4b67882deb967c80fe790c3f (diff)
Merge branch '2021-01-15-assorted-improvements'
- Add MBR partition layout writing supporting, clean up code. - A large number of assorted console/iomux cleanups - A large number of board_r related cleanups. - Log enhancements
Diffstat (limited to 'arch/sandbox/cpu/start.c')
-rw-r--r--arch/sandbox/cpu/start.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index 8322ed7a1f..2d18d9debc 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -9,6 +9,7 @@
#include <efi_loader.h>
#include <errno.h>
#include <init.h>
+#include <log.h>
#include <os.h>
#include <cli.h>
#include <sort.h>
@@ -486,6 +487,10 @@ 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 */
board_init_f(0);