From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC7B7ECAAA1 for ; Thu, 27 Oct 2022 11:15:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B105C850CD; Thu, 27 Oct 2022 13:14:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mistralsolutions.com header.i=@mistralsolutions.com header.b="GmmKV+Ph"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A5EEE850BA; Thu, 27 Oct 2022 12:49:15 +0200 (CEST) Received: from egress-ip33b.ess.de.barracuda.com (egress-ip33b.ess.de.barracuda.com [18.185.115.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B9A1A850BC for ; Thu, 27 Oct 2022 12:49:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sinthu.raja@mistralsolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx-outbound19-64.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Oct 2022 10:49:11 +0000 Received: by mail-pg1-f199.google.com with SMTP id h19-20020a63e153000000b00434dfee8dbaso557198pgk.18 for ; Thu, 27 Oct 2022 03:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RqLNIldatqWxSEXC4Btho4+Bx2RxdGlhm/8ktVx2AvA=; b=GmmKV+PhZvhd5tFHsMvkOAdKLTCVhSqBw7JzR4vO78CHHDlL9D4pHMR1luxYD589qJ YOz5GqX+VRhM4muAFrU6SzNE0wjSEXyq+W/6v367GFwKbQWxOpFfoTLYU6NrKbXklTit 8E3kJ7Hw2xcQE/8cWPJcLfrMuNBtluNZKQ1TM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RqLNIldatqWxSEXC4Btho4+Bx2RxdGlhm/8ktVx2AvA=; b=Pv4GBfHbawob+Uw+iLNrahelpdhgwcXS3mB1dwLddT20+8rYOlEL8LMTc+gGJCwuiW hJphM9jK9OSef+IDrvO+d8CwT5LGyfz35zhwtIRuHmryhVX5s2NyL9BX1QArfMGf33xi pfaHtTKI7k3tbiKh9MQNFM8BD9CFzV0mbYlBDixFnYxNOXUDqGfEFPS6pOEcEuwENdGz iHUxTwtdDr7rJ+PnFvXIqeDs3dZzUgKOyGO+mGWcNn4QZW4R6EouRTT45ktQNzv+vDqe Ewerb6C6nOp68XKEX7Hl4TvilvhhFGlcox4to73ZUU916sE2PSk/jNSCfzQ4n5zPlPzq 6LbA== X-Gm-Message-State: ACrzQf07VUGGMpfqYoIWxm8pkDz+sJmTH7maMd059eW7mM3qj+3yT4Rs +OQI+5SO9hY1KcXqUk+0itte/0dWLC+wjb0CQrzQ7gh9mQSIH33gT6cbSioOZ48ZLuGAvhmywh+ pg3WWoPuyfgkCjMA5S6zVP6OGwL98FssUtcEahrv/XxEgU8uKoA== X-Received: by 2002:a17:90b:1e46:b0:20a:f9d8:1ff7 with SMTP id pi6-20020a17090b1e4600b0020af9d81ff7mr9721242pjb.34.1666867748911; Thu, 27 Oct 2022 03:49:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6RdN9Y1FDciN2BDwwttI2xnbjEEGoy/SOJQAIJAMA9DJxk3cDJO76393RUPiFyjqXoFndKlQ== X-Received: by 2002:a17:90b:1e46:b0:20a:f9d8:1ff7 with SMTP id pi6-20020a17090b1e4600b0020af9d81ff7mr9721212pjb.34.1666867748611; Thu, 27 Oct 2022 03:49:08 -0700 (PDT) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id 20-20020a630e54000000b0045ccc30e469sm815370pgo.25.2022.10.27.03.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 03:49:08 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de, Simon Glass , Marcel Ziswiler , Marek Vasut , Vignesh Raghavendra Cc: Sinthu Raja Subject: [PATCH 04/11] board: ti: j721s2: Add support to update board_name for am68-sk Date: Thu, 27 Oct 2022 16:18:39 +0530 Message-Id: <20221027104846.11820-5-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221027104846.11820-1-sinthu.raja@ti.com> References: <20221027104846.11820-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1666867751-304928-5427-7208-1 X-BESS-VER: 2019.1_20221024.2147 X-BESS-Apparent-Source-IP: 209.85.215.199 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.243747 [from cloudscan17-240.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Thu, 27 Oct 2022 13:13:53 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja Update setup_board_eeprom_env() to choose the right board name for am68-sk. Signed-off-by: Sinthu Raja --- board/ti/j721s2/evm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index e09adc8ad3..e3c75b35b6 100644 --- a/board/ti/j721s2/evm.c +++ b/board/ti/j721s2/evm.c @@ -28,6 +28,8 @@ #define board_is_j721s2_som() board_ti_k3_is("J721S2X-PM1-SOM") +#define board_is_am68_sk_som() board_ti_k3_is("AM68-SK-SOM") + DECLARE_GLOBAL_DATA_PTR; int board_init(void) @@ -136,6 +138,8 @@ static void setup_board_eeprom_env(void) if (board_is_j721s2_som()) name = "j721s2"; + else if (board_is_am68_sk_som()) + name = "am68-sk"; else printf("Unidentified board claims %s in eeprom header\n", board_ti_get_name()); -- 2.36.1