From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCiRp-0001hK-Bv for barebox@lists.infradead.org; Tue, 14 Jun 2016 07:07:42 +0000 Received: by mail-wm0-x241.google.com with SMTP id n184so19969914wmn.1 for ; Tue, 14 Jun 2016 00:07:22 -0700 (PDT) From: Raphael Poggi Date: Tue, 14 Jun 2016 09:06:40 +0200 Message-Id: <1465888006-39463-7-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1465888006-39463-1-git-send-email-poggi.raph@gmail.com> References: <1465888006-39463-1-git-send-email-poggi.raph@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 06/12] arm: cpu: start: arm64 does not support relocation To: barebox@lists.infradead.org Cc: Raphael Poggi For now, the relocation is not supported in arm64, so enclosed call to "setup_c" with #if directive Signed-off-by: Raphael Poggi --- arch/arm/cpu/start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c index d03d1ed..25ba5fc 100644 --- a/arch/arm/cpu/start.c +++ b/arch/arm/cpu/start.c @@ -151,7 +151,9 @@ __noreturn void barebox_non_pbl_start(unsigned long membase, relocate_to_adr(barebox_base); } +#if __LINUX_ARM_ARCH__ <= 7 setup_c(); +#endif barrier(); -- 2.1.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox