Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A8D2C2B9F4 for ; Mon, 14 Jun 2021 22:56:33 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 020E7613AC for ; Mon, 14 Jun 2021 22:56:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 020E7613AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3061B81F9B; Tue, 15 Jun 2021 00:56:28 +0200 (CEST) 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="LwK+5SWy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 38136803B2; Tue, 15 Jun 2021 00:56:26 +0200 (CEST) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 6CCAD803B2 for ; Tue, 15 Jun 2021 00:56:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut@gmail.com Received: by mail-ed1-x52a.google.com with SMTP id w21so48504388edv.3 for ; Mon, 14 Jun 2021 15:56:23 -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:mime-version :content-transfer-encoding; bh=qvlHXzLUl6/VZptnrQk38XqoAtZWEYipMfA0JbB1e80=; b=LwK+5SWyPMzAJra/MIwF2zcsu5dgKg06DV6hdniT+jZOSOK/BgdANB13SGFDeAHD6C PRT5fyBFCksc4hDjTFIKRgu4NvtWh5COPLyvjp/J3esTJOXgpOSWrSslBqJJd0Jjnoic hIB5euQUANStDpYjMxRmwNH/VqVL59TAuPdb1mRXSlinzalZ8K+9n1bB0H/zvXkdRTHK 3MnMvPc3ywNGwWPbyK+NCXp8bYGhTF3r45yXNk8uGtmb4QNF7yxFKJpxnb54z9TH+RUy pPsNSO1yN4B1j5chXxLR9YWb2WiUgAlxDhZYrXlBU6CuEwI0VcZTkA2Uc1e8I7T76EiD LhyQ== 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:mime-version :content-transfer-encoding; bh=qvlHXzLUl6/VZptnrQk38XqoAtZWEYipMfA0JbB1e80=; b=R2gVtEu7xOMH8XyhCZ6Bzn8DXz9td9JaxUAiyDhQ2r4OKoGfwzkdsctKBe5SLfJbA2 ozAzZVNF3x2gLC3WO6lbJEFwuN6/M2DYxPKfFcbQjw7iZtxLKofStUijNNYe8K6taP0K +7YBgrSkYh20SeuzaiQ6qzFM1hmlM5UDZiYVkEn2oG8t96sTQAZp+QCVKrntwRFuyomV AjJHfIIkpFanv8R1ZE4xXUe1XW/S/kAkvgri/ODnKCLqgVK0Q14KTNz6MfD1zT/lpF4w EzIh7IZ9yt8jKFzFwzT3k218c4fw0zSvgIdJKeuak3k/BgOQgHqyAB00TxF5EdfgsIMx gVZw== X-Gm-Message-State: AOAM530Ui85ROik4+yylnCqTCF5p0PDPNQMQvcCn6xesTwJyWUrn8eBK 5iLXNMyDXlF3P+4+osgYUwpxD1Rr/YI= X-Google-Smtp-Source: ABdhPJzUN3eAUK+/aaC9Cxjx0TaqcClL70RAp9MhFtZ10Vl28cmFusev/yvXC6v7BZ9rmmES1SfjMQ== X-Received: by 2002:a05:6402:18c:: with SMTP id r12mr19872336edv.10.1623711383136; Mon, 14 Jun 2021 15:56:23 -0700 (PDT) Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz. [89.176.112.137]) by smtp.gmail.com with ESMTPSA id nc26sm8083891ejc.106.2021.06.14.15.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 15:56:22 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Biju Das , Lad Prabhakar Subject: [PATCH] ARM: renesas: Turn on PIE for Gen3 Date: Tue, 15 Jun 2021 00:56:01 +0200 Message-Id: <20210614225601.231591-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.103.2 at phobos.denx.de X-Virus-Status: Clean Turn on PIE, so that the U-Boot binary can be started from any arbitrary location in DRAM instead of a predefined fixed one. Note that this patch is not setting SYS_TEXT_BASE=0x0 yet, since that triggers relocation bugs in env code that are yet to be fixed. Signed-off-by: Marek Vasut Cc: Biju Das Cc: Lad Prabhakar --- arch/arm/mach-rmobile/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rmobile/Kconfig b/arch/arm/mach-rmobile/Kconfig index 41322b2c4c..69e40cf382 100644 --- a/arch/arm/mach-rmobile/Kconfig +++ b/arch/arm/mach-rmobile/Kconfig @@ -17,6 +17,7 @@ config RCAR_GEN3 select PINCTRL select PINCONF select PINCTRL_PFC + select POSITION_INDEPENDENT select SUPPORT_SPL imply CMD_FS_UUID imply CMD_GPT -- 2.30.2