From: Tom Rini Date: Fri, 24 Apr 2020 13:11:12 -0400 Subject: [PATCH 1/1] Makefile: ARMv7-M has no CPSR register In-Reply-To: <20200410091032.64614-1-xypron.glpk@gmx.de> References: <20200410091032.64614-1-xypron.glpk@gmx.de> Message-ID: <20200424171112.GQ4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Apr 10, 2020 at 11:10:32AM +0200, Heinrich Schuchardt wrote: > Compiling on ARMv7-M fails when trying to address the CPSR register which > is not available on this architecture. > > Atomic functions refer to the CPSR register if compiled with > arch/arm/include/asm/proc-armv/system.h. On ARMv7-M we should hence > use arch/arm/thumb1/include/asm/proc-armv/system.h instead. > > Cf. https://stackoverflow.com/questions/61097841/error-selected-processor-does-not-support-requested-special-purpose-register > > Reported-by: Sicris Rey Embay > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: