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 B1A6DFA3742 for ; Thu, 27 Oct 2022 11:16:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F10B5850E9; Thu, 27 Oct 2022 13:14:47 +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="TOB2cdIC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA40B850B7; Thu, 27 Oct 2022 12:49:34 +0200 (CEST) Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) (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 515BA850B5 for ; Thu, 27 Oct 2022 12:49:31 +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-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx-outbound42-114.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Oct 2022 10:49:30 +0000 Received: by mail-pj1-f70.google.com with SMTP id q93-20020a17090a1b6600b0021311ab9082so677316pjq.7 for ; Thu, 27 Oct 2022 03:49:30 -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=dqOlktZitavmFUwNm9vkd3cXtAUXSsEKG+V6pGxeHhs=; b=TOB2cdIClE8TrbfEsANE4B7sWuzQ+d+vYM8XCVMXh+1f6pkOlRzQyDDfSeuyKTx01p NIyNuEONbCq3yLbdnLJNPJniwwVAd6orTjHOuUp9wKroKq9oWqgCHFUYYuujoyr0RIff YDUGQ11piwRlz68iwEKuT1mzir/Ryi5jjK2Ho= 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=dqOlktZitavmFUwNm9vkd3cXtAUXSsEKG+V6pGxeHhs=; b=6wIFPUseDuL1hsI771oHsYosAkoAUPKnDO83pK6KiBE8y2bMbRb8zfLrYPn/gvMwHB c76sCrNUlinzjGKOJEYcD5L1cBSSD5ipRSzFsAtqg7FHjCZ5GWYzaBcuaVQKIfX7bGm5 e3Pu2friIgrShk8Rv2TsqUe4Dd6VV0m5WXl4nq3V46p6XXihSFi+/RXH7dSWUlW+PRMB cCuCsj6bq9Yo/2o9jMpvOp8giS2+sCtStWsNBjnUvd92yHHg2sBcbozHk8oaysb2/E1E rZIKb9DlQFcWaSIKedJdVlOY+L4tFr7YqNffVGX2n+Yhd3DAyhsL/cxQyuScnD+0gX0G NS+A== X-Gm-Message-State: ACrzQf0iHl8uuv3C8P5vEbV/4Fnt6YpSS6CuwVHVSNXg837p8QuVw+qx XVqmKSzYbZzPkvDPuW3X86slDH/kP7fnwjXR9CgdamDU4qKcbzwq0tMG7StpIHz29w7pl8QPhf2 2b3uiS/aNne+CNrbPH689LpjO3xD5rdVg3P81v333kX9Ji/IIxQ== X-Received: by 2002:a17:90b:4b48:b0:20a:8ea4:a18d with SMTP id mi8-20020a17090b4b4800b0020a8ea4a18dmr9665082pjb.75.1666867768566; Thu, 27 Oct 2022 03:49:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MQ7eS0tMr/7kpCepxGNTer0xzOvSIbHhHMAVJc6OpR1H80Dzlaswdr98ZibzcA5yjPvgBvw== X-Received: by 2002:a17:90b:4b48:b0:20a:8ea4:a18d with SMTP id mi8-20020a17090b4b4800b0020a8ea4a18dmr9665062pjb.75.1666867768291; Thu, 27 Oct 2022 03:49:28 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 03:49:27 -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 11/11] include: configs: Update env for selecting right dtb Date: Thu, 27 Oct 2022 16:18:46 +0530 Message-Id: <20221027104846.11820-12-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: 1666867769-310866-5377-5995-1 X-BESS-VER: 2019.1_20221024.2147 X-BESS-Apparent-Source-IP: 209.85.216.70 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.243747 [from cloudscan19-241.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO 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 Now that single defconfig shall be used for booting J721S2 EVM and AM68 SK, the 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: Sinthu Raja --- include/configs/j721s2_evm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/j721s2_evm.h b/include/configs/j721s2_evm.h index 932d7d3c8c..715f03048a 100644 --- a/include/configs/j721s2_evm.h +++ b/include/configs/j721s2_evm.h @@ -32,6 +32,10 @@ "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ "findfdt=" \ "setenv name_fdt ${default_device_tree};" \ + "if test $board_name = j721s2; then " \ + "setenv name_fdt k3-j721s2-common-proc-board.dtb; fi;" \ + "if test $board_name = am68-sk; then " \ + "setenv name_fdt k3-am68-sk-base-board.dtb; fi;"\ "setenv fdtfile ${name_fdt}\0" \ "name_kern=Image\0" \ "console=ttyS2,115200n8\0" \ -- 2.36.1