summaryrefslogtreecommitdiffstats
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-12-03 13:58:12 +0000
committerSimon Glass <sjg@chromium.org>2012-12-06 14:30:43 -0800
commit300081aa68d705ce954c516751a9c03efa1fba5e (patch)
tree717d2a5cbd502c5e3d8a926fb004dde9b3ca913f /arch/x86/cpu
parent2712f08898de84a9688b4a7b7752ba27e71d63ef (diff)
downloadu-boot-300081aa68d705ce954c516751a9c03efa1fba5e.tar.gz
u-boot-300081aa68d705ce954c516751a9c03efa1fba5e.tar.xz
u-boot-300081aa68d705ce954c516751a9c03efa1fba5e.zip
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: Stefan Reinauer <reinauer@google.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/coreboot/coreboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index f262800917..5a4c3e5b1c 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -28,6 +28,7 @@
#include <netdev.h>
#include <asm/msr.h>
#include <asm/cache.h>
+#include <asm/io.h>
#include <asm/arch-coreboot/tables.h>
#include <asm/arch-coreboot/sysinfo.h>
#include <asm/arch/timestamp.h>
@@ -68,6 +69,7 @@ int board_early_init_r(void)
void show_boot_progress(int val)
{
+ outb(val, 0x80);
}