From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 Apr 2021 16:30:01 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lZwoj-0005x3-6c for lore@lore.pengutronix.de; Fri, 23 Apr 2021 16:30:01 +0200 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZwoi-0000ON-Hq for lore@pengutronix.de; Fri, 23 Apr 2021 16:30:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ac1jiSZAb0ojGK4rbEVFo/tXBM5/wxymp2oXiyvvf0M=; b=VPwh4hVm/dFpacD7vN+mzT8f+ drm/VxBmW+SDbFqQi5FesHH2VmVMUEFFvef5UzmfZTiPwaIus3oUU6UJT5mn0OpgcSy8+ZXSaLVS6 pO6TlmzlOQyFB21SXFiuGL2HFMZsMKDGDgKllQeWIdg2BHc23SLVBbGrMU8Qi7yM31XXEwJwlbQj8 3U20Ce1xTuqgBb3Jby5USMFoJmxIdsmKwzZbOymfhtO07YgqRf69gaVsJfXyZcVLHxRS2TdWErEfm kqAxJIPPTrwVZ3NgM9sCrEMYYGoPUyWzzLfr1wUIsw2QhYLkZqSrQ91MjjDLXDueNUq+7e0TG1Yts VRgU98ZFw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZwnn-001gs7-IG; Fri, 23 Apr 2021 14:29:03 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZwnV-001gpq-Jq for barebox@desiato.infradead.org; Fri, 23 Apr 2021 14:28:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=2jKXNbz8/w5SdqJBkf48Fl35/laX7NBVdteWc9at7M8=; b=NHJIWv9MZo9Wu2dNdkkU7U3/GV g3+NrAQdZJUlMMnu0HlFZnL+bAz/nx+EEL7lcsh7wt8uQEVJUacgn0CemTF1fsBbOBABsn8eeAs0e kNLJgnf0AAzmmYD24tIDPMLG319gWQyg1eKtN79g/K/QgRrebTYxV29xmsF0eoCbQaCp+V1/AC2Bs 9t/RSUznV906kASvGcYUBau3Jf4ae5EHBSRPFjI3zAGwbPuv+OJXC3YbeDkrfndQShE1iuPuIx0n4 H/7iuqN15oH0c2cYVuxcZsu+Y1UNWuAAlarmGxcjdfkhXKQp4V7YpETgljC602iNZ3iFTkfZUA77E Ma9o4bwg==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZwnO-00ETBb-U3 for barebox@lists.infradead.org; Fri, 23 Apr 2021 14:28:40 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZwnN-0008WR-GO; Fri, 23 Apr 2021 16:28:37 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lZwnN-0007gS-37; Fri, 23 Apr 2021 16:28:37 +0200 From: Oleksij Rempel To: barebox@lists.infradead.org Cc: Oleksij Rempel Date: Fri, 23 Apr 2021 16:28:27 +0200 Message-Id: <20210423142829.29468-5-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210423142829.29468-1-o.rempel@pengutronix.de> References: <20210423142829.29468-1-o.rempel@pengutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210423_072838_999337_9D4E3665 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-SA-Exim-Connect-IP: 2001:8b0:10b:1:d65d:64ff:fe57:4e05 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v2 4/6] ARM: at91: add __sama5d3_stashed_bootrom_r4 helper X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) Add sama5d3 specific __sama5d3_stashed_bootrom_r4 helper. Signed-off-by: Oleksij Rempel --- arch/arm/mach-at91/include/mach/sama5_bootsource.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-at91/include/mach/sama5_bootsource.h b/arch/arm/mach-at91/include/mach/sama5_bootsource.h index 8355c2eeb6..931e1f29c8 100644 --- a/arch/arm/mach-at91/include/mach/sama5_bootsource.h +++ b/arch/arm/mach-at91/include/mach/sama5_bootsource.h @@ -46,6 +46,9 @@ static inline int sama5_bootsource_instance(u32 reg) #define __sama5d2_stashed_bootrom_r4 \ (*(volatile u32 *)(SAMA5D2_SRAM_BASE + SAMA5D2_SRAM_SIZE - 0x4)) +#define __sama5d3_stashed_bootrom_r4 \ + (*(volatile u32 *)(SAMA5D3_SRAM_BASE + SAMA5D3_SRAM_SIZE - 0x4)) + static inline void __noreturn sama5_boot_xload(void __noreturn (*bb)(void), u32 r4) { asm volatile("mov r4, %0" : : "r"(r4) : ); -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox