public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Announce][RFC] CFG_ macro renaming
Date: Tue, 02 Sep 2008 02:34:55 +0200	[thread overview]
Message-ID: <20080902003455.85A40242FF@gemini.denx.de> (raw)
In-Reply-To: <20080901235624.GC316@game.jcrosoft.org>

Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20080901235624.GC316@game.jcrosoft.org> you wrote:
> 
> 	As announce during OLS conference, it's plain to

s/plain/planned/

> 	* Configuration _OPTIONS_:
> 	  These are selectable by the user and have names beginning with
> 	  "CONFIG_".
> 
> 	* Configuration _SETTINGS_:
> 	  These depend on the hardware etc. and should not be meddled with if
> 	  you don't know what you're doing; they have names beginning with
> 	  "CFG_".
> 
> 	to keep CFG_ meaning we will rename them in the following change
> 
> 	1) Basic config
> 
> 	For environment we will use CONFIG_ENV_ (will be done this merge windows)

i. e. s/CFG_ENV_/CONFIG_ENV_/g

> 	For configuration settings CONFIG_SYS_

For *other* configuration settings we will use CONFIG_SYS_, i. e. 
s/CFG_/CONFIG_SYS_g.

> 	2) Extra config
> 
> 	For memory settings CONFIG_MEM_ or CONFIG_SYS_MEM_
> 
> 	For PCI settings CONFIG_PCI_ or CONFIG_SYS_PCI_
> 
> 	For USB settings CONFIG_USE or CONFIG_SYS_PCI_
> 
> 	For flash settings CONFIG_FLASH or CONFIG_SYS_FLASH_
> 
> 	For nand settins CONFIG_NAND or CONFIG_SYS_NAND_
> 
> 	For dtt settgins CONFIG_DTT or CONFIG_SYS_DTT
> 
> 	etc...

Please do not do that, as it will interfere with  a  lot  of  already
existing definitions. Stick with CONFIG_SYS_ in general. There may be
some  cases  where  your suggestion makes sense, but these need to be
carefully hand-selected,  i.  e.  this  must  not  be  done  by  some
automatically running script.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: ... and it's got weird formatting - Notepad, Write, Works  3  can't
: decipher it, and it's too big to go in DOS Edit. Help!
Install an operating system. :-)                  -- Tom Christiansen

  reply	other threads:[~2008-09-02  0:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 23:56 [U-Boot] [Announce][RFC] CFG_ macro renaming Jean-Christophe PLAGNIOL-VILLARD
2008-09-02  0:34 ` Wolfgang Denk [this message]
2008-09-02  0:59   ` Jean-Christophe PLAGNIOL-VILLARD
2008-09-13 21:38     ` Luigi 'Comio' Mantellini
2008-09-13 21:41       ` Jean-Christophe PLAGNIOL-VILLARD
2008-09-13 22:12         ` Luigi 'Comio' Mantellini
2008-09-13 22:18           ` Jean-Christophe PLAGNIOL-VILLARD
2008-09-13 22:54         ` Wolfgang Denk
2008-09-02  6:19 ` Markus Klotzbücher

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=20080902003455.85A40242FF@gemini.denx.de \
    --to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox