From patchwork Thu Feb 16 08:44:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Raiger X-Patchwork-Id: 141522 X-Patchwork-Delegate: sbabic@denx.de 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 22ABBB6ED0 for ; Thu, 16 Feb 2012 19:45:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 77DF428081; Thu, 16 Feb 2012 09:45:40 +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 9BF4h433Jpbv; Thu, 16 Feb 2012 09:45:40 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6A4B228083; Thu, 16 Feb 2012 09:45:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9553128083 for ; Thu, 16 Feb 2012 09:45:34 +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 LDvHUt9XzcUc for ; Thu, 16 Feb 2012 09:45:34 +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 mx.inode.at (mx11.lb01.inode.at [62.99.145.13]) by theia.denx.de (Postfix) with ESMTPS id 17A3228081 for ; Thu, 16 Feb 2012 09:45:32 +0100 (CET) Received: from [83.64.51.210] (port=11743 helo=gateway1.hale) by smartmx-11.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Rxwy4-0003Ps-22; Thu, 16 Feb 2012 09:45:32 +0100 Received: from mail1.hale.at (mail2.hale [192.168.100.12]) by gateway1.hale (8.13.8/8.13.7) with ESMTP id q1G8jdEa025529; Thu, 16 Feb 2012 09:45:39 +0100 Received: from uni24.HALE ([192.168.100.38]) by hale.at with MailEnable ESMTP; Thu, 16 Feb 2012 09:45:24 +0100 From: Helmut Raiger To: u-boot@lists.denx.de Date: Thu, 16 Feb 2012 09:44:34 +0100 Message-Id: <1329381874-14023-1-git-send-email-helmut.raiger@hale.at> X-Mailer: git-send-email 1.7.4.4 MIME-Version: 1.0 X-HALE-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: q1G8jdEa025529 X-HALE-MailScanner: Found to be clean X-HALE-MailScanner-From: helmut.raiger@hale.at MailScanner-NULL-Check: 1329986740.1909@BHF7HdFxe87j38c/yv+Q9Q Subject: [U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raiger --- arch/arm/cpu/arm1136/mx31/generic.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9..8873fb7 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return "WDOG"; case 0x0006: return "JTAG"; + case 0x0007: + return "ARM11P power gating"; default: return "unknown reset"; }