* Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx
[not found] ` <20090524201327.CB44C832E416@gemini.denx.de>
@ 2009-05-26 23:38 ` Kim Phillips
2009-05-27 7:08 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Kim Phillips @ 2009-05-26 23:38 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-dev, Peter Tyser, u-boot
On Sun, 24 May 2009 22:13:27 +0200
Wolfgang Denk <wd@denx.de> wrote:
> Dear Peter,
>
> In message <1243192952.703.7.camel@ptyser-laptop> you wrote:
> >
> > > CodingStyle Ch.12 suggests that it's the other fsl arches that are in
> > > violation here, not 83XX:
>
> Agreed...
>
> > Either way is fine with me, as long as things are consistent. It looked
> > like most Freescale CPUs in U-Boot as well as Linux used the lowercase
> > convention for CONFIG_<cpu type> so I thought:
> > a. Most likely someone made a conscious decision to use lowercase
I can understand it in comments and quotes, just not in constants in
the code.
> > b. It'd be much easier to change just 83xx than all other arches:)
that's not a good reason to do it this way though.
> > If others would prefer standardizing on uppercase, I can submit new
> > patches for 85xx, 5xxx, 86xx, etc. This would be still be inconsistent
> > with Linux though, which is a bit annoying.
>
> It seems Linux uses 8?xx with very few exceptions (CONFIG_SND_VIA82XX*
> and CONFIG_EDAC_MPC85XX), so let's do the same here.
so linux is inconsistent too.
I'm a fan of a more self-consistent CONFIG_MPC85XX_MDS over mixed-case
names like linux' CONFIG_MPC85xx_MDS.
I wonder if the linux ppc guys would accept a
s/CONFIG_MPC8?xx/CONFIG_MPC8?XX/g rename patch for linux...
Kim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx
2009-05-26 23:38 ` [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx Kim Phillips
@ 2009-05-27 7:08 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2009-05-27 7:08 UTC (permalink / raw)
To: u-boot; +Cc: linuxppc-dev, Wolfgang Denk, Peter Tyser
On Wednesday 27 May 2009 01:38:34 Kim Phillips wrote:
> > > If others would prefer standardizing on uppercase, I can submit new
> > > patches for 85xx, 5xxx, 86xx, etc. This would be still be inconsistent
> > > with Linux though, which is a bit annoying.
> >
> > It seems Linux uses 8?xx with very few exceptions (CONFIG_SND_VIA82XX*
> > and CONFIG_EDAC_MPC85XX), so let's do the same here.
>
> so linux is inconsistent too.
>
> I'm a fan of a more self-consistent CONFIG_MPC85XX_MDS over mixed-case
> names like linux' CONFIG_MPC85xx_MDS.
>
> I wonder if the linux ppc guys would accept a
> s/CONFIG_MPC8?xx/CONFIG_MPC8?XX/g rename patch for linux...
Just to add my 0.02$ as well, I prefer the lower case version CONFIG_8?xx.
It's used for 4xx this way as well in Linux and U-Boot. Perhaps I'm just used
to reading it this way...
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-27 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <82eccabef9b5f2ad7f747ee9ba966546ef366745.1243030613.git.ptyser@xes-inc.com>
[not found] ` <20090524140034.568bca6d.kim.phillips@freescale.com>
[not found] ` <1243192952.703.7.camel@ptyser-laptop>
[not found] ` <20090524201327.CB44C832E416@gemini.denx.de>
2009-05-26 23:38 ` [U-Boot] [PATCH 1/2] 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx Kim Phillips
2009-05-27 7:08 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).