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 4B1A4C001DE for ; Mon, 31 Jul 2023 14:29:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 479D48634D; Mon, 31 Jul 2023 16:29:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="i+4ce06S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 355FB86374; Mon, 31 Jul 2023 16:29:13 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 E18B286310 for ; Mon, 31 Jul 2023 16:29:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=j-kacines@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36VET9Ln075405 for ; Mon, 31 Jul 2023 09:29:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690813749; bh=GYlth9O6xIp60d9mcxCSBa5wPEVkaheGGHcpMypnVhc=; h=From:To:CC:Subject:Date; b=i+4ce06SeLLP9RX8A4YdW8pUMdGB8YRJdvePOINqW9A6Y+kI718kmkQw38X+RahtY Xj0uhKYCf0js5ylyK5fLBJ5fCloXbBxqALEVt4t7BTmfqw4u/MliN/RMVmD/uo6a9c MBXmfyWoNepf2Zv065PNm9uuZcFbhBrT5sT8tn2w= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36VET9mq041794 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 31 Jul 2023 09:29:09 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 31 Jul 2023 09:29:09 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 31 Jul 2023 09:29:08 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36VET92r029019; Mon, 31 Jul 2023 09:29:09 -0500 From: Jason Kacines To: Manorit Chawdhry , Andrew Davis , Bryan Brattlof , Vignesh Raghavendra CC: , Jason Kacines Subject: [PATCH] board: ti: am62x: Add variable device tree in env Date: Mon, 31 Jul 2023 09:27:27 -0500 Message-ID: <20230731142727.11550-1-j-kacines@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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.8 at phobos.denx.de X-Virus-Status: Clean Added variable default_device_tree that grabs from defconfig. Prevents needing to change this variable in two locations if using a separate device tree. In the future, it would be a good idea to remove this logic completely, but this will help reduce complications. Signed-off-by: Jason Kacines --- board/ti/am62x/am62x.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env index bb37d21de6..ee3d5a6b5f 100644 --- a/board/ti/am62x/am62x.env +++ b/board/ti/am62x/am62x.env @@ -1,7 +1,7 @@ #include #include -default_device_tree=ti/k3-am625-sk.dtb +default_device_tree=CONFIG_DEFAULT_DEVICE_TREE.dtb findfdt= setenv name_fdt ${default_device_tree}; setenv fdtfile ${name_fdt} -- 2.34.1