From patchwork Fri Mar 27 10:28:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262708 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=aA9Eee89; 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 48pdR06y8Zz9sSQ for ; Fri, 27 Mar 2020 21:30:20 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 25130818E8; Fri, 27 Mar 2020 11:29:38 +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="aA9Eee89"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 079CC818B9; Fri, 27 Mar 2020 11:28:54 +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-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 490A9818B9 for ; Fri, 27 Mar 2020 11:28:47 +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-x244.google.com with SMTP id g12so9666524ljj.3 for ; Fri, 27 Mar 2020 03:28:47 -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=N3Hg280DPDlBnLnUvPNC5dx8/ajskEZ5/qACIcafLtQ=; b=aA9Eee89Lybp0tzEqPDvKkC4ZAm0S1IPTjaNi0hcq+lxOcNue1XdXdPviYZzvjHkuu TUJTYxBbbbuPWdpjuVXRHRbs2eokJ5jDYtt/MLDQiGlzjXHTwHEwUVGZ6p1LFeSGp8+h 7B/xAqdswniezxFacgkIPBbxlT/GJQIhtTJvlz73mJ/t0THtFnCn3YSOrEi1yugrsfeK R3So56YHf/8EoHSNrTIaG3TfZX1jfHs2y78n2lWpV9NrhS20/mouWLsgVBsKuzCDcKGM 0L2l1+B+7x7JaRPe5BKmM37PGmuttaHceX69bHSK9nqQIWI7UpSnbmS7Fv3JY0snf/5l Z2LA== 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=N3Hg280DPDlBnLnUvPNC5dx8/ajskEZ5/qACIcafLtQ=; b=U5K6Vi4MeQuDn6Jbt6+fR64FcS5SM0S8WyTMUjwcn0dipWRN6WRFG4cFEgPX3w/yUi 038KI30vbm3qS4+ZHdKq92IRyHV2ZW2F3O1Z8YWPo4rj14WK/IS5nU7CQspMLtROIV4d f2mHSkD9/oOPapcoS9CvLBJhhE7NU3A5BiPdVVhvDzm61OveisVwxXUoetmDeJ+14e6I jrU3VrHl4c2q/3y/DPvyGZw3TWoeLWhcT/F7k9+CNqdnZMlHxmNO3LE+Kk+fPInNSz5E LNI4RaNwi9yxo1baphrsE5HBG4RGrDj/zHxhnPaQLeVdy2K7x6AOLSzJ+J1jdwmBgQec pvzg== X-Gm-Message-State: AGi0PuaNz/UiExg8ETfcbFs+u6rGzhYF9XDT94zkttW7k96bts6otP23 ZVaSQxaxhyj2ZCNBpZ7Y6AHZyH1HVgQ= X-Google-Smtp-Source: ADFU+vuk6igtHtH8j9btWaLynrMLQKL3sesQ+w3awdmBhWXZjyzs9U7iMQ84yDJxPJ8boPoNVgY+Eg== X-Received: by 2002:a2e:5ce:: with SMTP id 197mr8152753ljf.234.1585304926128; Fri, 27 Mar 2020 03:28:46 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id b198sm2802347lfg.11.2020.03.27.03.28.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:45 -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 10/13] colibri_imx7: enable relocation of fdt and initrd Date: Fri, 27 Mar 2020 12:28:22 +0200 Message-Id: <20200327102825.10230-11-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_imx7.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index 603ea3a053..7c00f78ef1 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -108,8 +108,6 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "bootm_size=0x10000000\0" \ "fdt_addr_r=0x82000000\0" \ - "fdt_high=0xffffffff\0" \ - "initrd_high=0xffffffff\0" \ "kernel_addr_r=0x81000000\0" \ "ramdisk_addr_r=0x82100000\0" \ "scriptaddr=0x82500000\0"