From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] arm: include: Import unified.h from Linux kernel
Date: Thu, 28 Apr 2016 02:28:09 +0200 [thread overview]
Message-ID: <57215919.8050508@denx.de> (raw)
In-Reply-To: <CAPnjgZ3S6wg+0Ytxk7ir1WT-mSNBhbE2Vbg3Wn=x3p7hqX8uSg@mail.gmail.com>
On 04/09/2016 08:34 PM, Simon Glass wrote:
> Hi Marek,
>
> On 20 March 2016 at 10:15, Marek Vasut <marex@denx.de> wrote:
>> Import unified.h from Linux kernel 4.4.6 , commit
>> 0d1912303e54ed1b2a371be0bba51c384dd57326 . This header file contains
>> macros used in libgcc functions in Linux kernel on ARM and will be
>> needed for the libgcc sync.
>>
>> Since unified.h defines the W(instr) macro, we must drop this from
>> the macro from memcpy.S , otherwise this triggers a warning about
>> symbol redefinition. In order to keep the changes to unified.h to
>> the minimum, tweak arch/arm/lib/Makefile such that it defines new
>> CONFIG_THUMB2_KERNEL macro, which is already checked by unified.h,
>> only if Thumb build is enabled, but the target does not support
>> Thumb2 . This way we can remove ad-hoc -DMEMSET_NO_THUMB_BUILD and
>> -DMEMCPY_NO_THUMB_BUILD and we do not change the logic.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
>> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
>> Cc: Simon Glass <sjg@chromium.org>
>> Cc: Tom Rini <trini@konsulko.com>
>> ---
>> arch/arm/include/asm/assembler.h | 1 +
>> arch/arm/include/asm/unified.h | 140 +++++++++++++++++++++++++++++++++++++++
>> arch/arm/lib/Makefile | 6 +-
>> arch/arm/lib/memcpy.S | 6 --
>> 4 files changed, 144 insertions(+), 9 deletions(-)
>> create mode 100644 arch/arm/include/asm/unified.h
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> Can we use SPDX?
Yes, done. Thanks!
Best regards,
Marek Vasut
prev parent reply other threads:[~2016-04-28 0:28 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-20 16:15 [U-Boot] [PATCH 1/5] arm: include: Import unified.h from Linux kernel Marek Vasut
2016-03-20 16:15 ` [U-Boot] [PATCH 2/5] arm: lib: Drop underscore from private libgcc filenames Marek Vasut
2016-04-09 18:34 ` Simon Glass
2016-03-20 16:15 ` [U-Boot] [PATCH 3/5] arm: lib: Sync libgcc shift operations Marek Vasut
2016-04-09 18:34 ` Simon Glass
2016-03-20 16:15 ` [U-Boot] [PATCH 4/5] arm: lib: Sync libgcc 32b division/modulo operations Marek Vasut
2016-04-09 18:34 ` Simon Glass
2016-03-20 16:15 ` [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default Marek Vasut
2016-03-23 12:53 ` Albert ARIBAUD
2016-03-23 13:22 ` Tom Rini
2016-03-23 17:08 ` Albert ARIBAUD
2016-03-23 21:36 ` Tom Rini
2016-03-23 23:02 ` Sergey Kubushyn
2016-03-23 23:08 ` Tom Rini
2016-03-23 23:24 ` Sergey Kubushyn
2016-03-23 23:24 ` Marek Vasut
2016-03-23 23:47 ` Sergey Kubushyn
2016-03-23 23:49 ` Marek Vasut
2016-03-23 23:54 ` Sergey Kubushyn
2016-03-24 0:10 ` [U-Boot] [PATCH] arm: lib: Import __do_div64 from Linux Marek Vasut
2016-03-24 0:11 ` [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default Marek Vasut
2016-03-24 2:28 ` Sergey Kubushyn
2016-03-24 18:18 ` Sergey Kubushyn
2016-03-24 18:43 ` Sergey Kubushyn
2016-03-24 19:04 ` Marek Vasut
2016-03-24 19:08 ` Sergey Kubushyn
2016-03-24 19:14 ` Marek Vasut
2016-03-24 22:25 ` Sergey Kubushyn
2016-03-24 0:13 ` Tom Rini
2016-03-24 0:36 ` Marek Vasut
2016-03-24 7:50 ` Albert ARIBAUD
2016-03-25 0:49 ` Tom Rini
2016-03-25 1:37 ` Sergey Kubushyn
2016-03-25 6:41 ` Albert ARIBAUD
2016-03-25 6:37 ` Albert ARIBAUD
2016-03-25 6:43 ` Albert ARIBAUD
2016-03-27 13:36 ` Tom Rini
2016-03-29 9:18 ` Albert ARIBAUD
2016-04-09 18:34 ` [U-Boot] [PATCH 1/5] arm: include: Import unified.h from Linux kernel Simon Glass
2016-04-28 0:28 ` Marek Vasut [this message]
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=57215919.8050508@denx.de \
--to=marex@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.