From patchwork Sun Dec 13 00:29:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Sutter X-Patchwork-Id: 556096 X-Patchwork-Delegate: prafulla@marvell.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 BC63F14031D for ; Sun, 13 Dec 2015 11:45:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6FA334B81C; Sun, 13 Dec 2015 01:45:02 +0100 (CET) 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 lkcd1xWIFeoE; Sun, 13 Dec 2015 01:45:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C61EF4B7F0; Sun, 13 Dec 2015 01:44:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 79A184B788 for ; Sun, 13 Dec 2015 01:35:14 +0100 (CET) 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 S3SxylW8igZS for ; Sun, 13 Dec 2015 01:35:14 +0100 (CET) X-Greylist: delayed 391 seconds by postgrey-1.34 at theia; Sun, 13 Dec 2015 01:35:09 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.nwl.cc (orbit.nwl.cc [176.31.251.142]) by theia.denx.de (Postfix) with ESMTPS id 1C5D04B76D for ; Sun, 13 Dec 2015 01:35:09 +0100 (CET) Received: from mail.nwl.cc (orbit [127.0.0.1]) by mail.nwl.cc (Postfix) with ESMTP id 497C721531 for ; Sun, 13 Dec 2015 01:28:51 +0100 (CET) Received: from base (orbit [IPv6:::1]) by mail.nwl.cc (Postfix) with ESMTP id 240EE2151C for ; Sun, 13 Dec 2015 01:28:51 +0100 (CET) From: Phil Sutter To: u-boot@lists.denx.de Date: Sun, 13 Dec 2015 01:29:55 +0100 X-Mailer: git-send-email 2.5.3 In-Reply-To: <1449966599-25475-1-git-send-email-phil@nwl.cc> References: <1449966599-25475-1-git-send-email-phil@nwl.cc> Message-Id: <20151213002851.240EE2151C@mail.nwl.cc> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Sun, 13 Dec 2015 01:44:46 +0100 Subject: [U-Boot] [PATCH 07/11] mvebu: Fix shortcoming of Marvell BSP board detection 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Phil Sutter --- arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c index 702273a..6c7738c 100644 --- a/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c +++ b/arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c @@ -70,8 +70,9 @@ static u32 board_id_get(void) /* * Return 0 here for custom board as this should not be used * for custom boards. + * -- Spoke Marvell and forgot that DB_88F78XX0_BP_ID == 0. */ - return 0; + return INVALID_BOARD_ID; #endif }