From patchwork Wed Jan 8 11:42:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1219551 X-Patchwork-Delegate: monstr@monstr.eu 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=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="Zyeh4kBH"; 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 47t6nD1xyFz9sR0 for ; Wed, 8 Jan 2020 22:42:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BADAE81766; Wed, 8 Jan 2020 12:42:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.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=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="Zyeh4kBH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 213CB8176C; Wed, 8 Jan 2020 12:42:50 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (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 5FA5880227 for ; Wed, 8 Jan 2020 12:42:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x442.google.com with SMTP id d16so2984795wre.10 for ; Wed, 08 Jan 2020 03:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=sbVZ/5uM0v8lYx8nnkyUbq0R0QDYX9VudJ4pzndSbqg=; b=Zyeh4kBHgkDbp8NfReT4Qq3gNAr7Ax6wXEgYCjpwIx+VHnB9MllvNteTQHNUcsNDgA qX2fjQODpzygxCVRl+E0bmh+dHumdJPC03UlnYQc31Hwl45FDoTBAow+UHNgfsooeIId dFSmVz5VZcfloJkZ/XJyNtHLR4ie2sm+jCUFhOAS0+MiJCT848WRyNXC04/X/gLQF2wF CIH9OHsBPhJq4yOFyxFb4IZleBVfim0WDk3+btesAMGpYTUW1pklzviKKgwu9MaBKaZU 1YrJxV2YbIeKs3xZ15dJhxgftE84Z60T/CIOAGPpUV5VPr7QKwT2YnwlMhYVE5RZRHYX KOxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=sbVZ/5uM0v8lYx8nnkyUbq0R0QDYX9VudJ4pzndSbqg=; b=HctYnLeogD+JVvsCI5q8znsAEIhTnKqemytZTu5Bld+27K/O2QwCtHUlRgRnP5BmzB YocRyzPvFGtVUwRbYq1rpHig8vzBBSv3YIi6EMmazbtC7tgxLAAVZqfTQNoYDG+SUqNT OPPhH88Xun9Q25MiWRP8ZwB1pM+lCdKnMZUp7uNL/DIrQ5fzs2cWimH3Qme1kLi1J/2q 8zvUDTfqkgc2JrCaDmBtR3ytZ5LjK/0i+2nuRZ7zlhQNRw0CekuTD/4pYniMMdl/xSo9 EZ1JlBDRHJ46vlAarQqAIvREmTbCV0OU0HoWNWwEcOqwlKnnuHjdVUu7A/FyeA5GoJvB EyOw== X-Gm-Message-State: APjAAAUtcUMgofN18E6THHpmPnuKCAGHmBJ9Ix2hbUQrYpTdkrXBADLq tb+A3BRYNiQUuV2xWbgpLca7uBR0OGR+eQ== X-Google-Smtp-Source: APXvYqx2E5RO9Tb5KaiOveBNwQ6zq2nCjXv78Ba65nxnP34H5yd9oIEgmVtTHX6vqRfTMQZUft3mBw== X-Received: by 2002:a5d:4cc9:: with SMTP id c9mr3977057wrt.70.1578483766657; Wed, 08 Jan 2020 03:42:46 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e8sm3864481wrt.7.2020.01.08.03.42.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Jan 2020 03:42:45 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH] arm64: versal: Generate position-independent pre-relocation code Date: Wed, 8 Jan 2020 12:42:42 +0100 Message-Id: X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 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: , 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 Enable position independent pre-relocation to let users options to put u-boot to different locations. Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 6488bca2c004..c7d9c22f4454 100644 --- a/configs/xilinx_versal_virt_defconfig +++ b/configs/xilinx_versal_virt_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_VERSAL=y CONFIG_SYS_TEXT_BASE=0x8000000 CONFIG_SYS_MALLOC_F_LEN=0x100000