public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there
Date: Fri, 27 Apr 2012 12:02:08 -0700	[thread overview]
Message-ID: <4F9AED30.8010504@ti.com> (raw)
In-Reply-To: <20120427184028.95C89204A5C@gemini.denx.de>

On 04/27/2012 11:40 AM, Wolfgang Denk wrote:
> Dear Tom Rini,
>
> In message<4F9ADF70.4080009@ti.com>  you wrote:
>>
>>> Technically, I don't like the name "config_fallbacks.h"; how about
>>> "config_defaults.h" instead?
>>
>> We have config_defaults.h today, which comes before<configs/...h>
>
> Yes, why not use it for this purpose as well?  It seems the
> appropriate place to me.

Order of operations.  We would have to move it to after <configs/...h> 
(and change behavior, and break a few board files, git grep 
CONFIG_BOOTM_ include/) or make everyone not using the standard undef to 
get their table, which I started down (as you could see from the patch) 
but it's quite invasive.  Or we add a fallbacks file and have config.h be:
First: default commands <config_cmd_default.h>
Second: Global defaults <config_defaults.h>
Third: board <configs/...h>
Fourth: arch fallbacks <asm/config.h>
Fifth: Global fallbacks

Since developers should be tweaking just their board config file I'm 
calling what's before defaults and what's after fallbacks..

-- 
Tom

  reply	other threads:[~2012-04-27 19:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 22:46 [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there Tom Rini
2012-04-26 22:46 ` [U-Boot] [PATCH v2 2/2] hush.c: Move default CONFIG_SYS_PROMPT_HUSH_PS2 to hush.c Tom Rini
2012-04-27  5:35   ` Mike Frysinger
2012-04-29 15:13   ` Stefano Babic
2012-04-26 23:53 ` [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there Tom Rini
2012-04-27  5:34 ` Mike Frysinger
2012-04-27 14:31   ` Tom Rini
2012-04-27  6:31 ` Wolfgang Denk
2012-04-27 14:53   ` Tom Rini
2012-04-27 16:17     ` Wolfgang Denk
2012-04-27 16:47       ` Tom Rini
2012-04-27 17:19         ` Wolfgang Denk
2012-04-27 17:31           ` Tom Rini
2012-04-27 18:03   ` Tom Rini
2012-04-27 18:37     ` Mike Frysinger
2012-04-27 18:40     ` Wolfgang Denk
2012-04-27 19:02       ` Tom Rini [this message]
2012-06-19 20:50 ` Wolfgang Denk
2012-06-19 21:31   ` Tom Rini
2012-06-20 14:52   ` Tom Rini
2012-06-19 22:54 ` [U-Boot] [PATCH v4 " Tom Rini
2012-06-19 22:54   ` [U-Boot] [PATCH v4 2/2] hush.c: Move default CONFIG_SYS_PROMPT_HUSH_PS2 to hush.c Tom Rini
2012-06-20  9:14     ` Stefano Babic
2012-06-20 18:36     ` Wolfgang Denk
2012-06-20 18:36   ` [U-Boot] [PATCH v4 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there Wolfgang Denk

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=4F9AED30.8010504@ti.com \
    --to=trini@ti.com \
    --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