From patchwork Mon Sep 14 08:01:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1363390 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=iaz8tJve; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4Bqf4r0VSDz9sTM for ; Mon, 14 Sep 2020 18:03:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1F1B88235A; Mon, 14 Sep 2020 10:01:55 +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="iaz8tJve"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0FA2082317; Mon, 14 Sep 2020 10:01:39 +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 02ABB82334 for ; Mon, 14 Sep 2020 10:01:35 +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 s205so17798289lja.7 for ; Mon, 14 Sep 2020 01:01:35 -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=mLDBOBivjqzHas1w2xv/FNddkko7UmmuZG+O4OyWLeI=; b=iaz8tJveYfTUzbRapvN0ibiyDW6SipX7M4zyMq0wAvBzkmSQyKwW/y4vXkZH/QPfMj PzU82vzqFXGEhKdZ683eA7waSdL+dowOX/isEt0xMXQKZ3/d5FxJSNd7lXZvdo+eLDP5 kiAKRfa3MilbiNCVD5itjfo/33CmQIPH0XDAGexQ+Fh16m2WvamupRB97mOGuZrzlkx0 WV557G+wvSPku6nyuEkfjXLiAo0smR2PeLmkT68kRp0/aSnvIg1GODag7IqkDJ91z4oe FzjHoNhNeADpw80ON1kXOROUNQnHbmlGSmaZ2iZOniEy7G77qJgWv7ut6prooQkKD05m 2ZoQ== 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=mLDBOBivjqzHas1w2xv/FNddkko7UmmuZG+O4OyWLeI=; b=UuuwB55Dm+eqrRaVHg17o+IQ+RJqNWTpuqHiVN+ppHN8x4gV+2F0gD1Y1gK/MD9Gy1 LPbCHCV7KelTbzy2TioGDRM6Kob4liFTu20EeGVBUtqfa/UbvrVXsFP8TF9Axs/ZBDKL AZaLakWvQ8dV/X4HRcR3J/onay9/G8fSZZ/cCHeW97kUm0oDDD7Cxffy8h3bolI5JNTs R0Mv785vHFx+cVnZUPSA7pzIl7eWYIyz8/E2bRMj+kdoBBo0PKZJ3ix1O4lPnyqTrSZ4 EIF2aT2dakwq8XDJj3Mrfq8PjVyHVpt86N1wWZimkjR5HHxzs2oEXOL9rCot4soIMPBd iZMw== X-Gm-Message-State: AOAM533gyBB3CD0CZBTFZ5YzLk2+ULk/xgxNVpkTKvlcx0ZR+ZS/ozL4 lvMOjQEYVqwh7o6W+hxTbVx+k1Jqqo0= X-Google-Smtp-Source: ABdhPJxvo10tu4/MDjQeo2NqpwG23Ov+P83S/o7nTXBQPoatzmc5x6q7UQ+ueC2durvuiLz9MgoNkA== X-Received: by 2002:a2e:3008:: with SMTP id w8mr5134081ljw.63.1600070493156; Mon, 14 Sep 2020 01:01:33 -0700 (PDT) Received: from localhost ([194.44.101.144]) by smtp.gmail.com with ESMTPSA id w26sm3925324ljm.30.2020.09.14.01.01.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Sep 2020 01:01:32 -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 9/9] apalis_imx6: provide fdtfile in env instead of setting it in runtime Date: Mon, 14 Sep 2020 11:01:12 +0300 Message-Id: <20200914080112.16665-10-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/apalis_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 9bc70f979a..4cffc7f887 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -135,7 +135,7 @@ #endif #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" \ @@ -143,6 +143,7 @@ "console=ttymxc0\0" \ "defargs=enable_wait_mode=off vmalloc=400M\0" \ "fdt_file=" FDT_FILE "\0" \ + "fdtfile=" FDT_FILE "\0" \ "fdt_fixup=;\0" \ MEM_LAYOUT_ENV_SETTINGS \ NFS_BOOTCMD \