mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH 2/2] ARM: throw out no-MMU vector base fixup when ARMv7 isn't selected
Date: Thu, 07 Jun 2018 15:00:02 +0200	[thread overview]
Message-ID: <1528376402.15027.9.camel@pengutronix.de> (raw)
In-Reply-To: <CAHQ1cqG3LVu9KKTvve7b_QHrnXzyBnC9SCbQ2WECiLVdqq_rVg@mail.gmail.com>

Am Donnerstag, den 07.06.2018, 05:53 -0700 schrieb Andrey Smirnov:
> > On Thu, Jun 7, 2018 at 2:42 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> > May save some code space, but more importantly fixes the ARMv8 build.
> > 
> 
> Does http://lists.infradead.org/pipermail/barebox/2018-May/033184.html
> not work in your case?

I just hadn't noticed this patch, when I wrote this one. So we can 
drop this one if yours get merged.

Regards,
Lucas

> 
> > > > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > ---
> >  arch/arm/cpu/no-mmu.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/cpu/no-mmu.c b/arch/arm/cpu/no-mmu.c
> > index 7268fa9b9d78..eff4cdcba4be 100644
> > --- a/arch/arm/cpu/no-mmu.c
> > +++ b/arch/arm/cpu/no-mmu.c
> > @@ -37,7 +37,8 @@ static int nommu_v7_vectors_init(void)
> >         void *vectors;
> >         u32 cr;
> > 
> > -       if (cpu_architecture() < CPU_ARCH_ARMv7)
> > +       if (!IS_ENABLED(CONFIG_CPU_32v7) ||
> > +           (cpu_architecture() < CPU_ARCH_ARMv7))
> >                 return 0;
> > 
> >         /*
> > --
> > 2.17.1
> > 
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2018-06-07 13:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07  9:42 [PATCH 1/2] wdt: da9053: fix missed dev->hwdev conversion Lucas Stach
2018-06-07  9:42 ` [PATCH 2/2] ARM: throw out no-MMU vector base fixup when ARMv7 isn't selected Lucas Stach
2018-06-07 12:53   ` Andrey Smirnov
2018-06-07 13:00     ` Lucas Stach [this message]
2018-06-07 13:03       ` Andrey Smirnov
2018-06-08  6:01 ` [PATCH 1/2] wdt: da9053: fix missed dev->hwdev conversion Sascha Hauer

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=1528376402.15027.9.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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