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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAE4EC433F5 for ; Tue, 2 Nov 2021 14:23:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1B19061053 for ; Tue, 2 Nov 2021 14:23:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1B19061053 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E1818360F; Tue, 2 Nov 2021 15:22:22 +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="TaLsyEi0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 203098290A; Tue, 2 Nov 2021 15:10:35 +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 5D65082EEA for ; Tue, 2 Nov 2021 15:10:31 +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-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx-outbound16-237.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 02 Nov 2021 14:10:29 +0000 Received: by mail-pg1-f200.google.com with SMTP id n22-20020a6563d6000000b0029261ffde9bso11921041pgv.22 for ; Tue, 02 Nov 2021 07:10:29 -0700 (PDT) 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=7l76/vEL0GLpmDch+Xud+UBz5xOd0FTtNt7OuEjLPCU=; b=TaLsyEi0K5+hbKkTiX6VzgUY1rlmDbWvFStw5kV/JKWBUADyAjcAqYdCw6Mpqe4uRy hwr54Cl6AKi96zw0h9XKzfZh0r5i7i2adWdMh/3x34MoAhnqLC4kLJIuttNFTFZV52mv 3Rfm+I2Suibr1yBWWtgoi9mQyEmPWvqzYr4zE= 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=7l76/vEL0GLpmDch+Xud+UBz5xOd0FTtNt7OuEjLPCU=; b=Anxnl0n8bpyEX9tWoxw5jV+/D979/ZaLNvTn/kzc0bgQ7bD67SLEwGFbDhCVYHYtq7 twCeEKZtgpmmt1U7dDe3nxh3dqzjoDjT7fFR1SkDUZRJ1QFRhOw0yaAz/LhGOgrapr63 dQMfGJfKRLwOAPVz2HF3RCzWveoEY2RyXYuT7+sgFFYEWTEfVSp7ZkdvN91ECJbmIwBm KwyayqK1PAR2Je2Hhn01Tlb3DrtSJBvFE5Err7i+MGwNi5nlOM4qc0NlTmbkMff2aahs ZmddcPLlY1QKQrhUeGQYIBqJZ1GLknbE1QuQKLz5UK1UQ65wSD9yDmA0F4gNOngDlB9y CDeg== X-Gm-Message-State: AOAM532VTWyByCgbotF3TKIk5NaaqxmNmU7T9mYtdkHGBDObBlQZ5yO7 pmWDu89v7ZBTW8f0Ttebcqm2ptZFJudW3sn1/QSrkoHIkZ5a0pyoe45DFCsMBDX5BWKuLYo77kB O0dyIMnivQ0QeCliAw627XPB8kzsZR+PKe5/PAME9ukFcG9DtIg== X-Received: by 2002:a05:6a00:23ce:b0:480:fee1:5495 with SMTP id g14-20020a056a0023ce00b00480fee15495mr17186507pfc.71.1635862227630; Tue, 02 Nov 2021 07:10:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxVnT332QW1wGARK9citcCAtS2jTbeLZx3/j3Dkok414Eq2lw3zYgUfn3wT0ijfpiD01lOkg== X-Received: by 2002:a05:6a00:23ce:b0:480:fee1:5495 with SMTP id g14-20020a056a0023ce00b00480fee15495mr17186469pfc.71.1635862227337; Tue, 02 Nov 2021 07:10:27 -0700 (PDT) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id z22sm17985689pfa.214.2021.11.02.07.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 07:10:26 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Sinthu Raja Subject: [PATCH V2 06/17] board: ti: j721e: Add support to update board_name for j721e-sk Date: Tue, 2 Nov 2021 19:35:47 +0530 Message-Id: <20211102140558.32460-7-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211102140558.32460-1-sinthu.raja@ti.com> References: <20211102140558.32460-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1635862228-304333-5396-12522-1 X-BESS-VER: 2019.1_20211101.1855 X-BESS-Apparent-Source-IP: 209.85.215.200 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.235584 [from cloudscan17-20.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 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_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Tue, 02 Nov 2021 15:22:01 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 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 --- Changes in V2: * J721E EAIK board name is changed to J721E SK, rename all occurrences of eaik to sk * Quite amount of SK boards are preprogrammed as EAIK in EEPROM, so retaining the condition to check the board name as eaik. 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 989e15e666..9d4609cfe9 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")) @@ -188,6 +191,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.31.1