From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD
Date: Tue, 24 Feb 2015 14:55:40 +0100 [thread overview]
Message-ID: <20150224145540.776fd3cb@lilith> (raw)
In-Reply-To: <54DA0963.60402@denx.de>
Hello Stefan,
On Tue, 10 Feb 2015 14:36:35 +0100, Stefan Roese <sr@denx.de> 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.
next prev parent reply other threads:[~2015-02-24 13:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-01 2:55 [U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD Albert ARIBAUD
2015-02-10 13:36 ` Stefan Roese
2015-02-24 13:55 ` Albert ARIBAUD [this message]
2015-02-24 13:53 ` [U-Boot] [PATCH v2] " Albert ARIBAUD
2015-02-24 14:00 ` Albert ARIBAUD
2015-02-25 22:09 ` Albert ARIBAUD
2015-04-09 9:22 ` Stefan Roese
2015-04-13 17:47 ` Albert ARIBAUD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150224145540.776fd3cb@lilith \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox