From patchwork Fri Mar 27 10:28:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262712 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=hkEzcqmz; 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 48pdRp6hP9z9sSL for ; Fri, 27 Mar 2020 21:31:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CC247818EC; Fri, 27 Mar 2020 11:29:51 +0100 (CET) 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="hkEzcqmz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 08AC3818C1; Fri, 27 Mar 2020 11:28:59 +0100 (CET) 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 B0B4E818B2 for ; Fri, 27 Mar 2020 11:28:48 +0100 (CET) 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 n20so7371775lfl.10 for ; Fri, 27 Mar 2020 03:28:48 -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=sSQZaD0tcYGUT+wm3QTtFICsx7pZ8zkH5FrOm7pnwxU=; b=hkEzcqmzP9WM3FWc0hNJEBqxpgQbLYZ/T9EOZabtuKhE5pG9BWYJo1I+Hhe/P88zt+ 8QpM30+bqYOD0AU4yUC2rslerQfI0fytyLf408/H3ISaJVXsgW1yS0Y7owvXcB8Ohl0L +oGi8GiNFI2BODW6yU+xO4SQNrDCURl9LS4RPFnFkZW22W4/nR9RFMMWnE7GFaXSaXUu u/axk55/2JXcCNyj5idLjPHmE4Y9N5XWA0RD0SjynzWn/u0XiekYr3Z/tPgLrB68ikxs AgPgJguMTs/Xnbj5XUz7CjvtnSN+z3a5vq7rZlQDu5m13rOz796DKJMrb1oU8k6OPpu9 rvyA== 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=sSQZaD0tcYGUT+wm3QTtFICsx7pZ8zkH5FrOm7pnwxU=; b=kAg/M314qqxT7L+F8YTGwIqgn58MGCAaqOftNlwE/45oeERENvCzecbv7JK8kOtCcp lLTrh24bE0+J/k62IdmZoSWP2c953B1Dn3F/Iv1GQFEVBD0TIpVIYIRGJCvbm4zF1PP1 JhVvpVEzRZp39yi5DN1vlTN8PqyMyPA9sNOZsE+fwhKSKQWO7f24ewmvb6g6OPJCUYH8 qNy9ufs+uIHE0uW7yFPKIj68OsgUdQxx4/dBSUOj+Zas0L1KiSTcug9lVNI0wnIDls1/ tS5DTDr4nF3YdTxHdzod7nz1dEsYGCTrQDgmVx7DzCVZLF8YW/TuzR3DEnnIBMqiUL24 esGw== X-Gm-Message-State: ANhLgQ3KFMCRvpO78Q4yoNsX2hQT8ylXTK1gBtqrh4O5V9WbetTwH+ZW hs/+7ArrJ1q1zgiE1CosXgb+cCrcC7k= X-Google-Smtp-Source: ADFU+vt5tgxiRgnwWUmkNK0InlN+eP2eJige3BDzIH3yVgCHDTI88KXIUG8GXfL1HuneLH8Pq68pPg== X-Received: by 2002:a19:a93:: with SMTP id 141mr8685771lfk.107.1585304927654; Fri, 27 Mar 2020 03:28:47 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id l13sm233216ljc.84.2020.03.27.03.28.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:47 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Marcel Ziswiler , Stefano Babic , Oleksandr Suvorov , Max Krummenacher , Philippe Schenker , Igor Opaniuk Subject: [PATCH v2 11/13] apalis_imx6: enable relocation of fdt and initrd Date: Fri, 27 Mar 2020 12:28:23 +0200 Message-Id: <20200327102825.10230-12-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200327102825.10230-1-igor.opaniuk@gmail.com> References: <20200327102825.10230-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.2 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk Remove 'fdt_high' and 'initrd_high' environment variables (set to 0xFFFFFFFF) from default environment which prevents relocation of FDT and initrd. Rely on 'bootm_size' value instead to safely relocate kernel, device tree and initrd. Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov --- include/configs/apalis_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index d2ff7e9534..fb0037444f 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -146,8 +146,6 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "bootm_size=0x20000000\0" \ "fdt_addr_r=0x12100000\0" \ - "fdt_high=0xffffffff\0" \ - "initrd_high=0xffffffff\0" \ "kernel_addr_r=0x11000000\0" \ "pxefile_addr_r=0x17100000\0" \ "ramdisk_addr_r=0x12200000\0" \