From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLA29-0004Av-Pz for barebox@lists.infradead.org; Tue, 10 Feb 2015 12:35:18 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 53DB4A0036B for ; Tue, 10 Feb 2015 13:35:41 +0100 (CET) From: Wadim Egorov Date: Tue, 10 Feb 2015 13:33:23 +0100 Message-Id: <1423571604-43061-1-git-send-email-w.egorov@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2: For next 1/2] reset_source: Add external reset To: barebox@lists.infradead.org Some SoCs have special device pins for external reset signals. Signed-off-by: Wadim Egorov --- common/reset_source.c | 1 + include/reset_source.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/reset_source.c b/common/reset_source.c index 946670b..ae2f9f3 100644 --- a/common/reset_source.c +++ b/common/reset_source.c @@ -26,6 +26,7 @@ static const char * const reset_src_names[] = { [RESET_WKE] = "WKE", [RESET_JTAG] = "JTAG", [RESET_THERM] = "THERM", + [RESET_EXT] = "EXT", }; static enum reset_src_type reset_source; diff --git a/include/reset_source.h b/include/reset_source.h index 6620228..367f93b 100644 --- a/include/reset_source.h +++ b/include/reset_source.h @@ -21,6 +21,7 @@ enum reset_src_type { RESET_WKE, /* wake-up (some SoCs can handle this) */ RESET_JTAG, /* JTAG reset */ RESET_THERM, /* SoC shut down because of overtemperature */ + RESET_EXT, /* External reset through device pin */ }; #ifdef CONFIG_RESET_SOURCE -- 1.9.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox