From patchwork Mon Sep 14 08:01:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1363386 X-Patchwork-Delegate: sbabic@denx.de 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=uUtNOVOx; 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 4Bqf4c2tQzz9sSP for ; Mon, 14 Sep 2020 18:03:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0DA568234F; Mon, 14 Sep 2020 10:01:54 +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="uUtNOVOx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 238DB82319; Mon, 14 Sep 2020 10:01:37 +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-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) (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 CF7FF82316 for ; Mon, 14 Sep 2020 10:01:32 +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-x242.google.com with SMTP id w3so17789214ljo.5 for ; Mon, 14 Sep 2020 01:01:32 -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=uUtNOVOxWPvRDD+1UDAa5iZ1JdEZIIQX+exBRjm2USbABBoIwZY0LhORmUL7HDRHeT U2C7A9JwTzqsZzWUzwWacUZgl+XlJwn092cjni/O63ao/rQlIpPJ2d6xvv3Z6RpckiNs +0wwmHbzTpGyCiliDcOJ/0JY8GKThqphBoGAb5gQ0jjfg4/EIuvKgKHx3d2uunGvOoqI K8hNa1NpclmKpMFm/vfbxxIkuYT0xEp4rk/DUCckgHY3kB/SGKdhASlG4m3PixX3yyeX rTSHZ+wYiZQhU4pPaY3Uqe/fqIw9WmOUYkQR3SBP0DfJ72ycdd9NBtKh0CZ0WbBxXzbN jIRQ== 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=s9v1J58jC+96MNAn/3rUt783ZHmZrmQWnjWY5/DM7Lnwg1gfnePB46W2lAGCPCHMve ELGbR3Q2ykujSC7e5wUXuiBZg0iHRWaLi1d/wXGrk8LrRvQ2W/dWryzB9s6tOtNk2JUl c/gQwtLAWSXVXvH3LL+MpAG0a63jXOYKfkX/eDHDttg7fsn+45ckiD8RD8BxaC1nQJIp sSbJaa/qO/ImrXh1qR/f1E0Z2OF9VQasjW2o9OphF0f9mQOH9xW3wZNKnrtRNhVRoSoO cBxHnYEXlwHnUaXuXjmqUSTS6ztpxtmjTM1lAyw14IlNzkbZIJ2gMLSPSsDBe5Fl0kFW utAQ== X-Gm-Message-State: AOAM532rcLHyxcT8dorNrjDWHeidNHu17Vszkrb+bIeD4to3o0pz0Uh/ tQR87qX2pURj4h8aghteoBZejbkJBkI= X-Google-Smtp-Source: ABdhPJzluO1eQhFQSRtwKYp3X1wxOxbMCbAa7DuoNKxr1qZm35/zrFQ0ja8eGcSeigiemlBfj27Blw== X-Received: by 2002:a2e:964b:: with SMTP id z11mr5161219ljh.364.1600070491686; Mon, 14 Sep 2020 01:01:31 -0700 (PDT) Received: from localhost ([194.44.101.144]) by smtp.gmail.com with ESMTPSA id b14sm3156280lfo.257.2020.09.14.01.01.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Sep 2020 01:01:31 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Max Krummenacher , Oleksandr Suvorov , Stefano Babic , Stefan Agner , Marcel Ziswiler , Philippe Schenker , Igor Opaniuk Subject: [RESEND PATCH v1 8/9] colibri_imx6: provide fdtfile in env instead of setting it in runtime Date: Mon, 14 Sep 2020 11:01:11 +0300 Message-Id: <20200914080112.16665-9-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200914080112.16665-1-igor.opaniuk@gmail.com> References: <20200914080112.16665-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 \