Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAB5AC49EA6 for ; Sat, 26 Jun 2021 15:08:08 +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 544A661C3A for ; Sat, 26 Jun 2021 15:08:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 544A661C3A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B6BC482C8B; Sat, 26 Jun 2021 17:06:05 +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="cYFp6C7a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C092B82C2A; Sat, 26 Jun 2021 16:59:52 +0200 (CEST) Received: from egress-ip33a.ess.de.barracuda.com (egress-ip33a.ess.de.barracuda.com [18.185.115.192]) (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 27B9B82C24 for ; Sat, 26 Jun 2021 16:59:50 +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-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx-outbound47-108.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Jun 2021 14:59:49 +0000 Received: by mail-pf1-f199.google.com with SMTP id 124-20020a6217820000b02902feebfd791eso7356841pfx.19 for ; Sat, 26 Jun 2021 07:59:49 -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=NX34YfjOEupbY52QE6IaMotkOfFxPEJ8sAZ2tZDzD30=; b=cYFp6C7ayTt7EK3Bszq7cDyZHT7oO5BQmuXE1XHpw9+DupjaOYB+L8UdrtrI3iUE+X WkJAdUb8/wc2p1Veu/itPlWEJfAyxRBsVzuP4imzyOXw2wEq2i0HgKcLmeqCv5T8o3CB JsvBinac0917IC2sdvXRABiSoqSQdMwVxFTqM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NX34YfjOEupbY52QE6IaMotkOfFxPEJ8sAZ2tZDzD30=; b=HW+qEoHLSfAyEPtFFAixZlmfR69553T3eazMdRNKCnheX5pxpv//fa8SyDwVGGjTkl LU60wPW/fiAxypgACdt6BJeld8Ipax1Mgrb2C4AxNVgYaIyJ4hzb0nXht4HUB0AOaJd/ kjYFWpbNv9xXSB4ceroXemFS0t5pxREItnyllMjsfzb+093kvDCRNiTCCBVHd7HpG7NZ 6TJudcLwvmKGS/TVFZCcAWCqNHxmeAdYEPxQgb2ulPD0dlAeclI2U8uKOzJqxgdxaJTT uXmXWhHdutgm7XlnX+QRK6lHc+8zLGqGolG5OSy05UI2HlwotKcKblqHjsGz9qLCrISo 0Reg== X-Gm-Message-State: AOAM530O7oEa8jbf8GmBB/RJaGguMEr3M7Pt/kPaIrF+pexXQPC5eWxD XC4oL9HVj6G9ux2QecAv9MPYBrep0ixV6iktQTI3hA0h4BW4LNU0sV+Epc9fTf32UpTxjBgq27Y ozAJtRMVpX5kE0dsW1gWBgfmFaR4or4o18y+0B7NrdaElgNnm1w== X-Received: by 2002:a17:90b:380d:: with SMTP id mq13mr27632800pjb.141.1624719587892; Sat, 26 Jun 2021 07:59:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8BtNzlAlnbr6ITS/7mZ6NpESc6AJDq6aA578Y1iLif+2zvGugZdOADm5CR/yhKXYKCq57eQ== X-Received: by 2002:a17:90b:380d:: with SMTP id mq13mr27632787pjb.141.1624719587656; Sat, 26 Jun 2021 07:59:47 -0700 (PDT) Received: from localhost.localdomain ([49.207.221.44]) by smtp.gmail.com with ESMTPSA id g18sm8769245pfi.199.2021.06.26.07.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 07:59:47 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Vutla Lokesh , Amarnath MB , Sinthu Raja Subject: [PATCH 17/17] include: configs: Update env for selecting right dtb Date: Sat, 26 Jun 2021 20:26:02 +0530 Message-Id: <20210626145602.15702-18-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210626145602.15702-1-sinthu.raja@ti.com> References: <20210626145602.15702-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1624719588-312140-3418-28691-1 X-BESS-VER: 2019.1_20210623.1648 X-BESS-Apparent-Source-IP: 209.85.210.199 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.233199 [from cloudscan22-52.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: Sat, 26 Jun 2021 17:05:02 +0200 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: Amarnath MB Now that single defconfig can be used for booting J721E EVM and EAIK, default device tree will not work for selecting dtb for kernel. Update the findfdt env to select right dtb based on board_name env variable. Signed-off-by: Amarnath MB Signed-off-by: Sinthu Raja --- include/configs/j721e_evm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index b707fc4e89..4de59dfe32 100644 --- a/include/configs/j721e_evm.h +++ b/include/configs/j721e_evm.h @@ -68,6 +68,10 @@ "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ "findfdt=" \ "setenv name_fdt ${default_device_tree};" \ + "if test $board_name = j721e; then " \ + "setenv name_fdt k3-j721e-common-proc-board.dtb; fi;" \ + "if test $board_name = j721e-eaik; then " \ + "setenv name_fdt k3-j721e-eaik.dtb; fi;" \ "setenv fdtfile ${name_fdt}\0" \ "name_kern=Image\0" \ "console=ttyS2,115200n8\0" \ -- 2.31.1