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 9F52BC433F5 for ; Wed, 9 Feb 2022 09:38:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D743B83E57; Wed, 9 Feb 2022 10:38:04 +0100 (CET) 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="ac+IYW1Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 87C1F83E24; Wed, 9 Feb 2022 10:37:37 +0100 (CET) Received: from egress-ip4b.ess.de.barracuda.com (egress-ip4b.ess.de.barracuda.com [18.185.115.208]) (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 2ABFD83DC4 for ; Wed, 9 Feb 2022 10:37:26 +0100 (CET) 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-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx-outbound40-219.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 09 Feb 2022 09:37:25 +0000 Received: by mail-pj1-f70.google.com with SMTP id ay10-20020a17090b030a00b001b8a4029ba0so3473357pjb.5 for ; Wed, 09 Feb 2022 01:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P83DaaTw8y3tA5mM4lPSOwN5W4FIOkmLRxDYpGYi7Pg=; b=ac+IYW1ZoZNnzIpM90HOxU7c3MSojV9z0bX9STd3B0AEwl8v7IsGlYrK0PRdveJDjh 8Rfik3tyVvzis8qBB+wktzHmYF0R6nKlJ1H9cMroqw6KP6JNeDbSkDtH4tYeL5izQrr+ F/cDq8LLzIyApYXNNHdum01UFBIqZpWVwEoeI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P83DaaTw8y3tA5mM4lPSOwN5W4FIOkmLRxDYpGYi7Pg=; b=ebHouSa04zzkvtqpiM3YDw8uWMDZzGeCxcUH9A28hPLYqGXMrv5vclsjwbxtoaeCgT 4gr4Op3k4NZ5iXehFRMfuFB3fFzCi69VA+EB80+hG96Ftfg6RHnsyWGiLAtCiLM+Qlih n+ltY3A/6uHrFV/5jOwvVlak4ZNPVoarsnE5fnqBlwtWLaK3+C/XhCBjLPUKRQGJp3G+ dF3sX60PZS/HQpmuuHJV5OKUHkzW2FMHiwQ6hniRu75hO9rVv/HBv7sL9AFRPvtY0XU/ BQhxU9awjxLPvbp+yrw6Xkjsnq/lRDBuH+9SS07gmqUE8L4XSqnI0da9eD/MGWFqVMZ0 Xpug== X-Gm-Message-State: AOAM531q4vR9Nqp2XmHIGmIrYL/BnCm5YqgfUVwxvwTVtNqgcGZPUUJO afaYod5v0xvmtfNavptLmSAhRFv1YRpX+KWy+Xl7FWucX/5w5y7SK6ETZ+w+SGAGYbVYJKmcblG EqfREyBE6BNDxU341caF/j2+Nr+EDhbQOijWEgyq0F2HXKVGUbA== X-Received: by 2002:a63:a549:: with SMTP id r9mr1169598pgu.283.1644399443489; Wed, 09 Feb 2022 01:37:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQVcpYZmFVLscETSiNPqNbKmMHprHA/in4si/OTiuN72Ot3ntaedk1kBRcByK8YHPcj5OF9w== X-Received: by 2002:a63:a549:: with SMTP id r9mr1169588pgu.283.1644399443160; Wed, 09 Feb 2022 01:37:23 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id g4sm18964255pfv.63.2022.02.09.01.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:37:22 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Sinthu Raja Subject: [PATCH V3 05/16] board: ti: j721e: Add support to update board_name for j721e-sk Date: Wed, 9 Feb 2022 15:06:50 +0530 Message-Id: <20220209093701.16693-6-sinthu.raja@ti.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220209093701.16693-1-sinthu.raja@ti.com> References: <20220209093701.16693-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1644399444-310459-5665-8240-1 X-BESS-VER: 2019.1_20220208.1721 X-BESS-Apparent-Source-IP: 209.85.216.70 X-BESS-Outbound-Spam-Score: 0.50 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.237841 [from cloudscan22-232.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.50 BSF_RULE7568M META: Custom Rule 7568M 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.50 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_RULE7568M, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 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.5 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja Update setup_board_eeprom_env() to choose the right board name for j721e-sk. Signed-off-by: Sinthu Raja --- board/ti/j721e/evm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index dc1c310861..b6810eb0c9 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -30,6 +30,9 @@ #define board_is_j721e_som() (board_ti_k3_is("J721EX-PM1-SOM") || \ board_ti_k3_is("J721EX-PM2-SOM")) +#define board_is_j721e_sk() (board_ti_k3_is("J721EX-EAIK") || \ + board_ti_k3_is("J721EX-SK")) + #define board_is_j7200_som() (board_ti_k3_is("J7200X-PM1-SOM") || \ board_ti_k3_is("J7200X-PM2-SOM")) @@ -390,6 +393,8 @@ static void setup_board_eeprom_env(void) if (board_is_j721e_som()) name = "j721e"; + else if (board_is_j721e_sk()) + name = "j721e-sk"; else if (board_is_j7200_som()) name = "j7200"; else -- 2.35.0