From patchwork Fri Mar 27 10:28:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262709 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=UjbEIa2e; 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 48pdRD3r7Sz9sSM for ; Fri, 27 Mar 2020 21:30:32 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B307818CF; Fri, 27 Mar 2020 11:29:42 +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="UjbEIa2e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D186F818C4; Fri, 27 Mar 2020 11:28:55 +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-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (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 50A70818B6 for ; Fri, 27 Mar 2020 11:28:46 +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-x143.google.com with SMTP id j17so7390367lfe.7 for ; Fri, 27 Mar 2020 03:28:46 -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=5mKPi1cqh4jFGL1DRw+8Ev0WBi1oYpJUCv1qULFD6I4=; b=UjbEIa2eMX92O0i8ARULl3sgSrhxZpZUF94pbdkG0WlEdfdMxmRs8sU0xgJsz87nas 9SPW0JzTM5Om/KKLhvrxzI6kalqf+YqLiB1LW6NirA6VMkAwNc2MxXkD1RnEkTMSte1M hwqxDtsknsrKossJ+GXfbWZWBrYMsqsrSIvVmjJlRQ8Fn5cyzf3gXd7zLJabyeMpJff6 pJcDAhlDBW+DcaQDNNm0ZvhZ7FLfkGa5kq1yuWqi9l/YGBqBPbFzmRyDkF9TvgLkDymE jbXSBYKmcNAA24MGjMue1JZD2IEQXr1vfpKv9rGP0WK+Jof/WQ7u2W4rT/fYUU5ugg0C MGRA== 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=5mKPi1cqh4jFGL1DRw+8Ev0WBi1oYpJUCv1qULFD6I4=; b=oSZzAJcKn+xexsxfrjImBJI/ewro7obbnB9BCHpUTB0D98QjNJ+vryQbSGpVGRotSN JuEugyV/sIvjV77BsyPo6beJ93uz2nx/WDDPSVDz6IRgC5QvtYt8q/TwdE5zgfUYILJL MdGtdUCQSuI7xdpugNQCxLYoSAYIrws77sXxehHaNoJGl7NU5vFBh4eS6bkgdExmST+z ASxXVTqI0595G/TPcwdMSWuUZihvI5AkJbRO+AT8Kz9DnQAO3ghcAXxZ2eLl4cyRRPpR sVnJGKxYXJBf+4Q4ylmS5/2GySb1NWd0iR3Xh/rR+DLknFpZlUMbY1cIgqbUQcqa7k4w +rtQ== X-Gm-Message-State: ANhLgQ0CsN8MlvH3iUtBhoQDhe3ig9xEi0IUVuKjJG1VWsKDYYCXOAAG IIGLGSryEIx0G0n33xT18NpsZ7THCKg= X-Google-Smtp-Source: ADFU+vuU2d967oV6dlRxn2dSw7IOV/fmipG9wKnUGPF5kOrNCMX9hOqilvb8yVfZYZ2cKsqYPOBxYw== X-Received: by 2002:a05:6512:1109:: with SMTP id l9mr8877245lfg.50.1585304924702; Fri, 27 Mar 2020 03:28:44 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id f26sm2542513lja.102.2020.03.27.03.28.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:44 -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 09/13] colibri_vf: enable relocation of fdt and initrd Date: Fri, 27 Mar 2020 12:28:21 +0200 Message-Id: <20200327102825.10230-10-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_vf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 1478ea844e..b03ccaf094 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -51,8 +51,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" \ "pxefile_addr_r=0x87100000\0" \ "ramdisk_addr_r=0x82100000\0" \