From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8Nff-000475-4X for barebox@lists.infradead.org; Thu, 02 Jun 2016 08:08:04 +0000 Received: by mail-wm0-x244.google.com with SMTP id e3so13453093wme.2 for ; Thu, 02 Jun 2016 01:07:43 -0700 (PDT) From: Raphael Poggi Date: Thu, 2 Jun 2016 10:06:52 +0200 Message-Id: <1464854818-28653-7-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1464854818-28653-1-git-send-email-poggi.raph@gmail.com> References: <1464854818-28653-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 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