From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 24 Feb 2015 14:55:40 +0100 Subject: [U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD In-Reply-To: <54DA0963.60402@denx.de> References: <1422759336-12239-1-git-send-email-albert.u.boot@aribaud.net> <54DA0963.60402@denx.de> Message-ID: <20150224145540.776fd3cb@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stefan, On Tue, 10 Feb 2015 14:36:35 +0100, Stefan Roese wrote: > Hi Albert, > > Another option would be to remove all the irq_off/_on stuff from > the atomic_foo() and the bitops functions. We are running in a > single-threaded environment after all in U-Boot. So there should > be no need for such synch mechanisms. But these files are copied > from Linux. And I really don't like to make changes to these files. > > And ideas / comments welcome. I have an idea, only moderately better, embodied in my V2 patch. Basically, for Thumb-1 builds, I insert an include path which allows me to "intercept" includes of 'asm/proc-armv/system.h' and provide ad hoc definitions for local_* definitions. > Thanks, > Stefan Amicalement, -- Albert.