From patchwork Mon Sep 14 07:51:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1363352 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=fCXRyIFO; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bqdsh1hFhz9sTM for ; Mon, 14 Sep 2020 17:53:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 412308233D; Mon, 14 Sep 2020 09:51:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fCXRyIFO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 89CF881EE4; Mon, 14 Sep 2020 09:51:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 067F981EE4 for ; Mon, 14 Sep 2020 09:51:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lj1-x244.google.com with SMTP id r24so17818482ljm.3 for ; Mon, 14 Sep 2020 00:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AW3IliXnNMw5xDBb4W2R1nqoY79sQUzLO/mtxF5Y7lA=; b=fCXRyIFOWtJ69+hFImKLDeL2OY9C4ICzOecyxUHp46kbR8uv9x0klyWgZ5YnEDNjoO KIbyAdQJ1Gkf9CTEadABpevJNERudbT+snDzwot4YL3wxQ2+8V0UeWibmumuV0dThIJ7 IPPKv/7KvBbxUSZasCEbKHToIurd72IFeWVUGdvtC9JHA5aaybbIi44YNkBSI8GfoH3a gUOn9je71NXbFN2OFpSPDAO0GdWs7CiYJCYFtz9tz5kHT6laNLlvePG+GNT7jwcsLqWc BDuxR39doW7XcXDX/8LAh/csmermGXNV4GLTqfXp2OwHVMfaxPT0FaF988pVskzD/8Fj fm7Q== 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; bh=AW3IliXnNMw5xDBb4W2R1nqoY79sQUzLO/mtxF5Y7lA=; b=mWErMPsDzyrDT/YkBhAoZEPJW4A72t4FidN72uafs2meseG+T+KF3Qp5lL4GNnwCoO 3eQpI8Ad3aHwCcKu2fLhRQI3jfYipylTTcgw+chekG53jQBxGqK3Diov9iLRA8hmSNtC 8IfPqV08p/DiHavToEJt0lbEwW8BImtcZuyLyJrlTMJLtkNDD6aijdpDuq08glrZS+ih /0ji35Bkm0V2GorG3mi266vvYgvXSDJXH117TBLP9xuf5eQ6hpK6fqOO+BLuFn650UZ2 /rGv1YE3f0D8DQj2PloqnpDVFt97ruOsNNHqqsjnskW22WU3SjqqHoINOnkVKgN+yFER YdyA== X-Gm-Message-State: AOAM532UT/I92+B/ZYgLCpjsejXkjfe6i4dusgQEN8vbtGe+WZmUGeV8 Leyk5cCrbe+1w8rBvW4qIzXMHdxWdB4= X-Google-Smtp-Source: ABdhPJzhXLw+eTtudjV6HzwTk2DWC3W5m1vAMMyIRVJXZPlnFobhTIm+OMdG+h8Tb4/I6KQVHQ9qQg== X-Received: by 2002:a2e:9d8e:: with SMTP id c14mr4637453ljj.135.1600069893121; Mon, 14 Sep 2020 00:51:33 -0700 (PDT) Received: from localhost ([194.44.101.144]) by smtp.gmail.com with ESMTPSA id l11sm3147434lfk.113.2020.09.14.00.51.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Sep 2020 00:51:32 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Oleksandr Suvorov , Max Krummenacher , Stefano Babic , Marcel Ziswiler , Stefan Agner , Philippe Schenker , Igor Opaniuk Subject: [PATCH v1 8/9] colibri_imx6: provide fdtfile in env instead of setting it in runtime Date: Mon, 14 Sep 2020 10:51:07 +0300 Message-Id: <20200914075108.14537-9-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200914075108.14537-1-igor.opaniuk@gmail.com> References: <20200914075108.14537-1-igor.opaniuk@gmail.com> 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk Provide fdtfile value in default env instead of setting it dynamically in runtime. Fixes: 85cb2bc686("apalis/colibri imx6: provide proper fdtfile value") Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index 13b03a594e..097e620de4 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -118,7 +118,7 @@ #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" #define CONFIG_EXTRA_ENV_SETTINGS \ BOOTENV \ - "bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd; " \ + "bootcmd=run distro_bootcmd; " \ "usb start ; " \ "setenv stdout serial,vidconsole; " \ "setenv stdin serial,usbkbd\0" \ @@ -126,6 +126,7 @@ "console=ttymxc0\0" \ "defargs=enable_wait_mode=off galcore.contiguousSize=50331648\0" \ "fdt_file=" FDT_FILE "\0" \ + "fdtfile=" FDT_FILE "\0" \ "fdt_fixup=;\0" \ MEM_LAYOUT_ENV_SETTINGS \ NFS_BOOTCMD \