From patchwork Sat Nov 3 21:41:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 196937 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 55A632C00D6 for ; Sun, 4 Nov 2012 08:42:52 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C079D4A1CF; Sat, 3 Nov 2012 22:42:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xe+-ZO2gxjty; Sat, 3 Nov 2012 22:42:44 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D3ECE4A168; Sat, 3 Nov 2012 22:42:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6FB284A135 for ; Sat, 3 Nov 2012 22:42:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrrOiikTvbgr for ; Sat, 3 Nov 2012 22:42:07 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-we0-f202.google.com (mail-we0-f202.google.com [74.125.82.202]) by theia.denx.de (Postfix) with ESMTPS id E505B4A14F for ; Sat, 3 Nov 2012 22:42:04 +0100 (CET) Received: by mail-we0-f202.google.com with SMTP id x43so291288wey.3 for ; Sat, 03 Nov 2012 14:42:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=YrwmoYrLdh9tGdc+RQFH5TB712oTYjCFptJIWD/jenw=; b=kszfQx1fwWWFuW+89lUFnvHqQiEfr4gKPkB3J1xVJUt8HWd3RF0tw61pfjES/v742N thkaLeel9jvVPjcr8RXQhSpYnUnF+iFXS1D/LCTsT4HB4R7JT8XC3OGGgJXjfqs+/S1D /s8SoBmGO87NsD6+OKpGCAZAAm9e7vHpkL7KmFe+//oEDytvg0ZJYw6FBjQocxkuy1gx A6Lqw1tQb9FcOnZ3iCdBRF3l5OdZSjGejnTYILGb5cj+zVAtF0hVIn3v3SmKjxWJJVE2 t8jJin84SFQEHUsaCh4usTcE6OjpFMt2ZRA+/VvjWHp5kM9wPmWJrz5MOvUL6BevI6q/ O+9g== Received: by 10.14.209.66 with SMTP id r42mr5847156eeo.1.1351978924151; Sat, 03 Nov 2012 14:42:04 -0700 (PDT) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id u8si2320692een.1.2012.11.03.14.42.04 (version=TLSv1/SSLv3 cipher=AES128-SHA); Sat, 03 Nov 2012 14:42:04 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id C1679200057; Sat, 3 Nov 2012 14:42:03 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 1944E161BAC; Sat, 3 Nov 2012 14:42:03 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 3 Nov 2012 14:41:33 -0700 Message-Id: <1351978902-23719-12-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1351978902-23719-1-git-send-email-sjg@chromium.org> References: <1351978902-23719-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQlEoiZDQ7eD+M8rptOe4nwjOuI6yqLr0ItvyLjcdzObE+jSaErh0GrGfzuLuvjq140AHwTZraXZZtxXq0Eq4C4kkFFMz5lTMqcPT4EOEUEeDiHCcLjj5NMOyxn6AU0yKrcHNHBLIrQ8Z+pt9ILaJd6v3D/UCE2TEF8GuQNnbIh32VIUwbE/RIWz7mrZOy6LjN9m7eOD Cc: Stefan Reinauer , Stefan Reinauer Subject: [U-Boot] [PATCH 11/20] x86: Emit port 80 post codes in show_boot_progress() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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); }