public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 1/4] kconfig: arm: introduce symbol for ARM CPUs
Date: Mon, 27 Oct 2014 18:09:53 +0100	[thread overview]
Message-ID: <20141027180953.4ff80201@lilith> (raw)
In-Reply-To: <CAMhH57S-Zd7ku_0n37p7VqsiaJ38811nEfpf7ZVp1GuwOQ3Lhw@mail.gmail.com>

Hello Masahiro,

On Tue, 28 Oct 2014 01:50:31 +0900, Masahiro YAMADA
<yamada.m@jp.panasonic.com> wrote:
> Hi Georges,
> 
> This patch is really appreciated, but I found some mistakes.
> Please see below:
> 
> 
> 
> 2014-10-27 7:25 GMT+09:00 Georges Savoundararadj <savoundg@gmail.com>:
> 
> > +config SYS_CPU
> > +        default "arm720t" if CPU_ARM720T
> > +        default "arm920t" if CPU_ARM920T
> > +        default "arm926ejs" if CPU_ARM926EJS
> > +        default "arm946es" if CPU_ARM946ES
> > +        default "arm1136" if CPU_ARM113
> > +        default "arm1176" if CPU_ARM1176
> > +        default "armv7" if CPU_V7
> > +        default "pxa" if CPU_PXA
> > +        default "sa1100" if CPU_SA1100
> > +
> 
> 
> [1] Typo.
> 
> s/CPU_ARM113/CPU_ARM1136/
> 
> 
> > @@ -472,6 +664,7 @@ config TEGRA
> >
> >  config TARGET_VEXPRESS_AEMV8A
> >         bool "Support vexpress_aemv8a"
> > +       select CPU_V7
> >         select ARM64
> >
> 
> [2]
> Your are changing this board from "armv8" to "armv7".
> Please remove "select CPU_V7".
> 
> 
> 
> [3]
> I thought you were trying to add only CPU_V7 and CPU_ARM1176
> but it is very nice to make extra efforts for our community.
> One problem is, if you add "CPU_PXA", you need to fix "common/lcd.c".
> Otherwise, you will get a new warning for such boards as palmld, palmtc,
> because CONFIG_CPU_PXA is defined and used in common/lcd.c,
> 
>   #if defined(CONFIG_CPU_PXA25X) || defined(CONFIG_CPU_PXA27X) || \
>           defined(CONFIG_CPU_MONAHANS)
>   #define CONFIG_CPU_PXA                   <------ remove
>   #include <asm/byteorder.h>
>   #endif
> 
> I think this change will *probably* produce the same output
> although I have not checked it closely yet.
> 
> 
> 
> 
> 
> [4]
> This patch is not applicable on the current master
> (commit d0796defbe8eff6fc3c27c893dcbc47af59d4764)
> You also need to add "select CPU_V7" to
> the new entry "TARGET_SUN6I" in arch/arm/Kconfig.
> 
> 
> 
> 
> Could you fix [1] thru [4], please?
> 
> 
> Before sending it, please do a quick test at least;
> it's very easy.
> 
> 
>   1.  Check out master branch
>   2.  Run "tools/genboardscfg.py"
>   3.  Run "mv  boards.cfg   boards.cfg.org"
>   4.  Apply your patch
>   5.  Run  "tools/genboardscfg.py" again
>   6.  Run  "diff  boards.cfg.org  boards.cfg"
> 
> If you get code diff,  something is wrong with your patch.
> You will easily see which board is corrupted.
> 
> 
> 
> 
> Tom and Albert,
> 
> If Georges fixes those problems, is it possible to apply it shortly on
> the mainline?
> (directly u-boot/master? or via u-boot-arm/master?)

I'm ok with this patch going in (through either tree). However:

> Since this patch easily causes conflicts, it should not get stuck for
> a long time.

I'm not sure I'm getting this right. Do yo mean that once the patch is
in, it should be easy to detect and iron out issues because if some
boards are broken, their users will react promptly?

> Best Regards
> Masahiro Yamada

Amicalement,
-- 
Albert.

  reply	other threads:[~2014-10-27 17:09 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 21:33 [U-Boot] [PATCH 0/3] arm: add interrupt support Georges Savoundararadj
2014-09-21 21:33 ` [U-Boot] [PATCH 1/3] arm: make .vectors section allocatable Georges Savoundararadj
2014-09-24  7:34   ` Albert ARIBAUD
2014-09-25 20:11     ` Georges Savoundararadj
2014-09-21 21:33 ` [U-Boot] [PATCH 2/3] arm1176: move exception vectors after relocation Georges Savoundararadj
2014-09-21 21:33 ` [U-Boot] [PATCH 3/3] arm: enable_interrupts: set sp in IRQ/FIQ modes Georges Savoundararadj
2014-09-22  1:35 ` [U-Boot] [PATCH 0/3] arm: add interrupt support Masahiro Yamada
2014-09-22 18:24   ` Georges Savoundararadj
2014-09-23  3:17     ` Masahiro YAMADA
2014-09-24  7:20       ` Albert ARIBAUD
2014-09-24  7:22 ` Albert ARIBAUD
2014-09-27 19:48 ` [U-Boot] [PATCH v2 0/3] arm: fix exception handling Georges Savoundararadj
2014-09-27 19:48   ` [U-Boot] [PATCH v2 1/3] arm: make .vectors section allocatable Georges Savoundararadj
2014-09-27 19:48   ` [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors Georges Savoundararadj
2014-10-11 10:47     ` Albert ARIBAUD
2014-10-14 20:02       ` Georges Savoundararadj
2014-10-14 22:11         ` Albert ARIBAUD
2014-10-20 21:08           ` Georges Savoundararadj
2014-10-21  5:41             ` Masahiro Yamada
2014-10-21 14:05               ` Albert ARIBAUD
2014-10-22  9:50                 ` Masahiro Yamada
2014-10-22 20:29               ` Georges Savoundararadj
2014-10-21 13:54             ` Albert ARIBAUD
2014-10-22  9:54               ` Masahiro Yamada
2014-10-22 20:52                 ` Georges Savoundararadj
2014-09-27 19:58   ` [U-Boot] [PATCH v2 3/3] arm: interrupt_init: set sp in IRQ/FIQ modes Georges Savoundararadj
2014-10-26 22:25   ` [U-Boot] [PATCH v3 0/4] arm: fix exception handling Georges Savoundararadj
2014-10-26 22:25     ` [U-Boot] [PATCH v3 1/4] kconfig: arm: introduce symbol for ARM CPUs Georges Savoundararadj
2014-10-27 16:50       ` Masahiro YAMADA
2014-10-27 17:09         ` Albert ARIBAUD [this message]
2014-10-27 17:23           ` Masahiro YAMADA
2014-10-28  7:01             ` Albert ARIBAUD
2014-10-28 16:10               ` Masahiro YAMADA
2014-10-28 15:57         ` Masahiro YAMADA
2014-10-28 18:58           ` Georges Savoundararadj
2014-10-26 22:25     ` [U-Boot] [PATCH v3 2/4] arm: make .vectors section allocatable Georges Savoundararadj
2014-10-26 23:20       ` Albert ARIBAUD
2014-10-26 22:25     ` [U-Boot] [PATCH v3 3/4] arm: relocate the exception vectors Georges Savoundararadj
2014-10-26 22:25     ` [U-Boot] [PATCH v3 4/4] arm: interrupt_init: set sp in IRQ/FIQ modes Georges Savoundararadj
2014-10-26 23:16       ` Albert ARIBAUD
2014-10-26 23:32         ` Albert ARIBAUD
2014-10-28 22:16     ` [U-Boot] [PATCH v4 0/4] arm: fix exception handling Georges Savoundararadj
2014-10-28 22:16       ` [U-Boot] [PATCH v4 1/4] kconfig: arm: introduce symbol for ARM CPUs Georges Savoundararadj
2014-10-29  8:07         ` Masahiro Yamada
2014-10-29 12:37           ` Tom Rini
2014-10-29 12:50         ` Albert ARIBAUD
2014-10-29 15:22         ` Tom Rini
2014-10-28 22:16       ` [U-Boot] [PATCH v4 2/4] arm: make .vectors section allocatable Georges Savoundararadj
2014-10-29 12:49         ` Albert ARIBAUD
2014-10-29 15:22         ` Tom Rini
2014-10-28 22:16       ` [U-Boot] [PATCH v4 3/4] arm: relocate the exception vectors Georges Savoundararadj
2014-10-29 12:49         ` Albert ARIBAUD
2014-10-29 15:22         ` Tom Rini
2014-10-28 22:16       ` [U-Boot] [PATCH v4 4/4] arm: interrupt_init: set sp in IRQ/FIQ modes Georges Savoundararadj
2014-10-29 12:49         ` Albert ARIBAUD
2014-10-29 15:22         ` Tom Rini

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=20141027180953.4ff80201@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