From patchwork Fri Mar 27 10:28:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262713 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=hOduqXJ/; 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 48pdS13hlmz9sSL for ; Fri, 27 Mar 2020 21:31:13 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 27D83818F6; Fri, 27 Mar 2020 11:29:55 +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="hOduqXJ/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 90C0F818B2; Fri, 27 Mar 2020 11:29:04 +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-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (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 7AD1481883 for ; Fri, 27 Mar 2020 11:28: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=igor.opaniuk@gmail.com Received: by mail-lj1-x241.google.com with SMTP id g12so9666715ljj.3 for ; Fri, 27 Mar 2020 03:28:51 -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=O7vEUh5Sc1CNp/CswnjKbpNHHkaWAg/eSnEZcsIA86g=; b=hOduqXJ/19nrL2pFBnfn5faq9Wp/4jc8gShT6OWr08idoGqf7/KsGbutuKcMgIQ2fF KL9+rb0chIvZwsMfu6QzJ1ISQdr61f1Fl8DvJmnkL5Z1NFeXU8k02sJ/I/tUdrOOlIvi 4shOosXy4S36Q2oBurS6d4z5//ZbgfmlQk38kj4pkI7/OiQdC3eykWyELK0o3VdkUUry guWYTECUXXB9PE1Z4OQUj8FDndHB2VOjlZOM9zSRPsvXd+aCX538mZMxBS1Pq6HnX6Cf T0gVY3VXom3iyO2cymiY/OmGatjpVRy7w1eKIrAsgytMdpfyHOsRuDk6zi8NThjP+5Ns yT2Q== 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=O7vEUh5Sc1CNp/CswnjKbpNHHkaWAg/eSnEZcsIA86g=; b=A0ul98TH3qb9UApbl3qgRSo6rm3fQs8A60w5aRel3UlQBLS/78ZtD/e3j03A6JWu2E M5mTtlGhoiCXT+kPygqnInhal/G8zotekwQ5hpwgdNuoMIxR159XZGZat7dYNtZjunR6 xIqdsOzTEKfdYqIC/XQp8DYgvbXjTSOlxBrnNeEUjHCOQO/RuWT4w0l9Lntw6xcMOxAm VKhXOYWczVqzcPXTXHqOcF8BkV3U80upXhlsUNpR29Goj/5QFvPqvRXMCTTeLVR8btOz F9DsPNBt+c+KmAl8TcC+E++iVVCeYw7tiN0ngurTwDLYFbIyW7WQKFzgZ8CWCifFZNkO 0nJA== X-Gm-Message-State: AGi0PuajLCCtPFe6eF2BRaytKGBofjJifrvcyGasj1Vv3BqIIDncl7Gs hp/Iu1M8J+iF8EvjaIvh+MYkvZyz1V0= X-Google-Smtp-Source: APiQypJ0k1FV+PTc4WZYd2LNnZ0dBuck2SPRW2Wym/sYCuEDZf4mkyoDeq3PyEQ0QmGBRul66fGBWg== X-Received: by 2002:a2e:8105:: with SMTP id d5mr8009072ljg.172.1585304930447; Fri, 27 Mar 2020 03:28:50 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id m11sm3065929lfj.90.2020.03.27.03.28.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:50 -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 13/13] colibri_imx6: enable relocation of fdt and initrd Date: Fri, 27 Mar 2020 12:28:25 +0200 Message-Id: <20200327102825.10230-14-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/colibri_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index cbc7501bcc..4cdd3c53af 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -134,8 +134,6 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "bootm_size=0x10000000\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" \