From patchwork Sat Nov 3 21:41:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,11/20] x86: Emit port 80 post codes in show_boot_progress() Date: Sat, 03 Nov 2012 11:41:33 -0000 From: Simon Glass X-Patchwork-Id: 196937 Message-Id: <1351978902-23719-12-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Cc: Stefan Reinauer , Stefan Reinauer From: Stefan Reinauer This helps us monitor boot progress and determine where U-Boot dies if there are any problems. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- arch/x86/cpu/coreboot/coreboot.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c index d1be8ff..2912443 100644 --- a/arch/x86/cpu/coreboot/coreboot.c +++ b/arch/x86/cpu/coreboot/coreboot.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -68,6 +69,7 @@ int board_early_init_r(void) void show_boot_progress(int val) { + outb(val, 0x80); }