Skip to content
Snippets Groups Projects
Commit 300081aa authored by Stefan Reinauer's avatar Stefan Reinauer Committed by Simon Glass
Browse files

x86: Emit port 80 post codes in show_boot_progress()


This helps us monitor boot progress and determine where U-Boot dies if
there are any problems.

Signed-off-by: default avatarStefan Reinauer <reinauer@google.com>

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 2712f088
Branches
Tags
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <netdev.h> #include <netdev.h>
#include <asm/msr.h> #include <asm/msr.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/io.h>
#include <asm/arch-coreboot/tables.h> #include <asm/arch-coreboot/tables.h>
#include <asm/arch-coreboot/sysinfo.h> #include <asm/arch-coreboot/sysinfo.h>
#include <asm/arch/timestamp.h> #include <asm/arch/timestamp.h>
...@@ -68,6 +69,7 @@ int board_early_init_r(void) ...@@ -68,6 +69,7 @@ int board_early_init_r(void)
void show_boot_progress(int val) void show_boot_progress(int val)
{ {
outb(val, 0x80);
} }
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* (easy to change) * (easy to change)
*/ */
#define CONFIG_SYS_COREBOOT #define CONFIG_SYS_COREBOOT
#undef CONFIG_SHOW_BOOT_PROGRESS #define CONFIG_SHOW_BOOT_PROGRESS
#define CONFIG_LAST_STAGE_INIT #define CONFIG_LAST_STAGE_INIT
#define CONFIG_X86_NO_RESET_VECTOR #define CONFIG_X86_NO_RESET_VECTOR
#define CONFIG_SYS_VSNPRINTF #define CONFIG_SYS_VSNPRINTF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment