From patchwork Fri Sep 2 07:53:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 75288 Delivered-To: patch@linaro.org Received: by 10.140.29.8 with SMTP id a8csp721615qga; Fri, 2 Sep 2016 00:54:08 -0700 (PDT) X-Received: by 10.28.198.142 with SMTP id w136mr1761687wmf.30.1472802848912; Fri, 02 Sep 2016 00:54:08 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id aq5si10288845wjc.126.2016.09.02.00.54.08; Fri, 02 Sep 2016 00:54:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 497A24B656; Fri, 2 Sep 2016 09:54:08 +0200 (CEST) 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 fDZSnjcgCWnY; Fri, 2 Sep 2016 09:54:08 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AD66E4B68A; Fri, 2 Sep 2016 09:54:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 92B984B68A for ; Fri, 2 Sep 2016 09:54:04 +0200 (CEST) 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 BQj7XdbDfmes for ; Fri, 2 Sep 2016 09:54:04 +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 comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 24BA64B656 for ; Fri, 2 Sep 2016 09:54:00 +0200 (CEST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u827rwIX004375; Fri, 2 Sep 2016 02:53:58 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u827rvr0001162; Fri, 2 Sep 2016 02:53:57 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Sep 2016 02:53:56 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u827ruFm002292; Fri, 2 Sep 2016 02:53:56 -0500 From: Nishanth Menon To: Lokesh Vutla , Tom Rini Date: Fri, 2 Sep 2016 02:53:54 -0500 Message-ID: <20160902075354.25578-1-nm@ti.com> X-Mailer: git-send-email 2.9.1.200.gb1ec08f MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] board: am57xx: Fix missing check for beagle_x15 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When beagleboard-X15 is booted, we see the following log: Unidentified board claims BBRDX15_ in eeprom header This is because of the missing check for x15 (the default) and reports an error for a valid board configuration. fix the same. Signed-off-by: Nishanth Menon --- based on v2016.09-rc2 board/ti/am57xx/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.1.200.gb1ec08f _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 927d1364fe46..3c3ec8a74e78 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -342,7 +342,7 @@ static void setup_board_eeprom_env(void) name = "am57xx_evm"; else if (board_is_am572x_idk()) name = "am572x_idk"; - else + else if (!board_is_x15()) printf("Unidentified board claims %s in eeprom header\n", board_ti_get_name());