From patchwork Tue Feb 4 20:51:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1233549 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=LI/FQX2K; 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 48Bxhx4tr1z9sPK for ; Wed, 5 Feb 2020 07:52:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48D1981B2A; Tue, 4 Feb 2020 21:52:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LI/FQX2K"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9749281B05; Tue, 4 Feb 2020 21:52:07 +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=-0.1 required=5.0 tests=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-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (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 ED2B581ACE for ; Tue, 4 Feb 2020 21:52:03 +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-lj1-x243.google.com with SMTP id h23so69161ljc.8 for ; Tue, 04 Feb 2020 12:52:03 -0800 (PST) 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=AtlzCZ9Ao/WFfNPloKnbbzWatOd/hMiyXdOvamZGsq8=; b=LI/FQX2K3fySsmQbDkvT/eB3dReCLbWA5zt5E9o2noezpn/YBqa5c1jOiozdqAe50m YSWtqM84rxQfUGnonhrtFwV1/HJEs9R2sFZdWb7RbjWnx4gG8B517ZzUkgbKFFcB9wHK stycm96qy2O5LBWyZZRqYyYJMZ3JMCoeay86p9oMpfoqirsBnQkAbQoOOxsJRg6JGe4f gMj/6KRQ8EEMUfR7GIWYbS/1JA59x1WBawjIIqAH8p/Jl/L60JWAHbQjva+wIu31UCgk XSFHnFGtCLMbO/k47AKIA6OLM9fuibIcGj5ZAU0xTpVGPg9VGYuV4zEPP+fzgqEChtyy Tj2Q== 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=AtlzCZ9Ao/WFfNPloKnbbzWatOd/hMiyXdOvamZGsq8=; b=YCPgtzXdkBCvhi4Ty9/LU0s+xOOK2RJLRXVF3CWmFgTR6jLtDO7MSePfAr2nHHTJA+ d+DErjhhl+p2bAKBbw4FobPBhMts3/5hIrVAxKfgdVHKBqpzlmhgDfuqBo+iRYssE5K6 Wf/gQ4wBAgZGxh0TPw+UMN69jbCledeYfHTRpxKfEF8RMaXw92h71zJTkJFtv2vBYFsl UtvFntnarLoBQIL5uSdw642oBqyf4DINo7s3eAiEAWugGl1TpB5XUxU6S49u24ckfmfm XkVIlirg5DQqExbxeO20knx8GNS7YWI4LUdHKSuNaTPSzOkrDzaa0H/E0dNY/i7MgjHB CREQ== X-Gm-Message-State: APjAAAUZLI5fqSwIQjhXDI1ouFpVt9EuYIe7Uu9C252oAAeRcLQur8kU JXUkBXsQNqPE0BbKCSSGF8oPM0aX X-Google-Smtp-Source: APXvYqzL79R5UGfJKv4bIzYobGNNx7dTNk1scBDgltYLmG+yROYM6p88LNmrVHLGeGi7b7K6SPwOTQ== X-Received: by 2002:a2e:3a12:: with SMTP id h18mr17868347lja.81.1580849523077; Tue, 04 Feb 2020 12:52:03 -0800 (PST) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id p136sm11102602lfa.8.2020.02.04.12.52.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Feb 2020 12:52:02 -0800 (PST) From: Igor Opaniuk To: u-boot@lists.denx.de Subject: [PATCH v1 3/5] apalis_imx6: enable relocation of fdt and initrd Date: Tue, 4 Feb 2020 22:51:55 +0200 Message-Id: <20200204205157.19878-3-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200204205157.19878-1-igor.opaniuk@gmail.com> References: <20200204205157.19878-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcel Ziswiler , Igor Opaniuk , Max Krummenacher Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 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" \