From patchwork Tue Apr 16 20:32:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 237081 X-Patchwork-Delegate: trini@ti.com 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 CFC5E2C0145 for ; Wed, 17 Apr 2013 06:32:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7085C4A246; Tue, 16 Apr 2013 22:32:20 +0200 (CEST) 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 xXeRscjinvPj; Tue, 16 Apr 2013 22:32:20 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 78DC94A236; Tue, 16 Apr 2013 22:32:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 081014A236 for ; Tue, 16 Apr 2013 22:32:17 +0200 (CEST) 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 t1gCarhM017O for ; Tue, 16 Apr 2013 22:32:16 +0200 (CEST) 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-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by theia.denx.de (Postfix) with ESMTPS id 3D6524A235 for ; Tue, 16 Apr 2013 22:32:14 +0200 (CEST) Received: by mail-yh0-f45.google.com with SMTP id q15so137518yhf.18 for ; Tue, 16 Apr 2013 13:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer; bh=IHCuWHDWlKRGXAbi2rRFUF5NogAxgLw+5qMpAEhitug=; b=N6H+KqF4M7OYOFDhV9vCbkL8+VdB80/XLWG5/oKoNhzzFTzDRTWoPFg7H4kie0N1g8 Rch5Foi3R303HqdiGTTRB+BZXryCurJJKx4GvK7RgXvipEXhVJ95KW24ClKmWcWX3mco 5xTvzYCCTP+nS7/IfvWgFStqtnrKQ2ywlSvtI4gLhMTpGPaXPbl3ZwRkLisxYxO+NC90 /6OcNzQm0usU5WMGPit1HvONUWzPlV0T0NE2EQRg9mod9u1U2xMZuIzFq/J5o0KTQ3w6 bFy2+d7Hfr3BNlCPkj/B3/aWutaLj3zjsm8Pc0pb5/Bn/UGU1ZauJ89SmFnIZXZ9PBL9 yQzQ== X-Received: by 10.236.27.170 with SMTP id e30mr1835815yha.15.1366144333413; Tue, 16 Apr 2013 13:32:13 -0700 (PDT) Received: from localhost.localdomain (cpe-065-184-250-089.ec.res.rr.com. [65.184.250.89]) by mx.google.com with ESMTPS id y5sm4237358yhd.3.2013.04.16.13.32.11 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 13:32:12 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Tue, 16 Apr 2013 16:32:12 -0400 Message-Id: <1366144332-31662-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH] beagleboard: Update comment in get_board_rev() 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 We are able to tell the difference between xM Rev Ax/Bx and xM Rev Cx, and have been for some time. The comment above the function however did not list this, so update. Signed-off-by: Tom Rini --- board/ti/beagle/beagle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 3d9b6dd..c686f40 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -108,13 +108,14 @@ int board_init(void) /* * Routine: get_board_revision * Description: Detect if we are running on a Beagle revision Ax/Bx, - * C1/2/3, C4 or xM. This can be done by reading + * C1/2/3, C4, xM Ax/Bx or xM Cx. This can be done by reading * the level of GPIO173, GPIO172 and GPIO171. This should * result in * GPIO173, GPIO172, GPIO171: 1 1 1 => Ax/Bx * GPIO173, GPIO172, GPIO171: 1 1 0 => C1/2/3 * GPIO173, GPIO172, GPIO171: 1 0 1 => C4 - * GPIO173, GPIO172, GPIO171: 0 0 0 => xM + * GPIO173, GPIO172, GPIO171: 0 1 0 => xM Cx + * GPIO173, GPIO172, GPIO171: 0 0 0 => xM Ax/Bx */ static int get_board_revision(void) {