Skip to content
Snippets Groups Projects
Commit 3ff0900a authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

x86: Display the SPL banner only once


At present on a cold reboot we must reset the CPU to get it to full speed.
With 64-bit U-Boot this happens in SPL. At present we print the banner
before doing this, the end result being that we print the banner twice.
Print the banner a little later (after the CPU is ready) to avoid this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent a6eb6769
No related branches found
No related tags found
No related merge requests found
...@@ -37,8 +37,6 @@ static int x86_spl_init(void) ...@@ -37,8 +37,6 @@ static int x86_spl_init(void)
debug("%s: spl_init() failed\n", __func__); debug("%s: spl_init() failed\n", __func__);
return ret; return ret;
} }
preloader_console_init();
ret = arch_cpu_init(); ret = arch_cpu_init();
if (ret) { if (ret) {
debug("%s: arch_cpu_init() failed\n", __func__); debug("%s: arch_cpu_init() failed\n", __func__);
...@@ -49,6 +47,7 @@ static int x86_spl_init(void) ...@@ -49,6 +47,7 @@ static int x86_spl_init(void)
debug("%s: arch_cpu_init_dm() failed\n", __func__); debug("%s: arch_cpu_init_dm() failed\n", __func__);
return ret; return ret;
} }
preloader_console_init();
ret = print_cpuinfo(); ret = print_cpuinfo();
if (ret) { if (ret) {
debug("%s: print_cpuinfo() failed\n", __func__); debug("%s: print_cpuinfo() failed\n", __func__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment