From patchwork Mon Sep 14 07:51:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1363354 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=rjvzroSx; 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 4BqdtG0js8z9sTM for ; Mon, 14 Sep 2020 17:54:29 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 98598822FF; Mon, 14 Sep 2020 09:51:53 +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="rjvzroSx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 054AA822FF; Mon, 14 Sep 2020 09:51:53 +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-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (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 7839382314 for ; Mon, 14 Sep 2020 09:51:40 +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-lf1-x142.google.com with SMTP id b22so8788678lfs.13 for ; Mon, 14 Sep 2020 00:51:40 -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=rjvzroSxGYbdy/Neyg49LGzst4eQZJgqNFde7rjYkUgPRrTVXhUG8T2Q1BiHxZyAhN JYb8XqTNn9OA429ul/1KTlu16VvhcmHILGnuoCB751AsAiCxq67or1tjFEgR+C9leQn6 /1Votuut8DfEzUSSCDF3H/vVYul9O+WIWJ0jPree+kEeXc8vRLW2SktkH+vBnbB8fsqk rOCUGu8ehyShWkSNs3ZyJFXw2sDO67Y3IRYALCL2b8Kcw6/wO3HzJRRJmR4maNCur3pg Xp8E1nqVKXoOpGr5RX16PAKfJq2blH0NP5syLu/Y/tKTSfesVnW2rhLCoi7qJVX4J6Tk kynQ== 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=PwHj08g8MzPT4pA13yEIOkIBQoR/bYpWpYCjU+JeFqbCHzitSW4jHP0jrMzF9D0tMO sXlic4Snu3TP2rls1zcQdqHVWwE/3Mk6gl85MYmrojgfUN5FhKaIwXKh6Y403cTiZg3s N6zPd7DIXCN2dlAEuzB7Tt+DtjsXFxb/D9j0Yl/LPnkSrAMdZShHapJHBupXWeq8+IPV bznkxJn8K0UjMnfyfbwXAWsWrA4bSoOgm2xzqafaKDB3joQHGlBTqB3U+nH9HD9UHxgx +ghxY+z/lPoNbK8QJaYzmJPPqV6X9103YaqMu8/f3cG6Qf2PUTfAosD96IK+GlSDTTWS PMcQ== X-Gm-Message-State: AOAM53162qYmz01wrN6CS1ZPVsNV6dQk6RgBwMk5It9EzgO5pofl/RrG gWUShjIPVF/ZG9jTD9SEWMf+VQWvRWA= X-Google-Smtp-Source: ABdhPJwU6GcqklKrutUlVND5oY+C/oSkGz2CDDRIOt3fQ50NXmkAOJIRBYiWKys1E5pPCiiqumSFeg== X-Received: by 2002:ac2:4e96:: with SMTP id o22mr3556353lfr.485.1600069894587; Mon, 14 Sep 2020 00:51:34 -0700 (PDT) Received: from localhost ([194.44.101.144]) by smtp.gmail.com with ESMTPSA id u23sm3907472ljl.86.2020.09.14.00.51.33 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Sep 2020 00:51:34 -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 9/9] apalis_imx6: provide fdtfile in env instead of setting it in runtime Date: Mon, 14 Sep 2020 10:51:08 +0300 Message-Id: <20200914075108.14537-10-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/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 \