public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Valentin Longchamp <valentin.longchamp@keymile.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/8] arm/km: rename mgcoge2un to mgcoge3un
Date: Wed, 04 May 2011 10:35:56 +0200	[thread overview]
Message-ID: <4DC10FEC.1050200@keymile.com> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D19FAC25C8C@SC-VEXCH4.marvell.com>

Prafulla Wadaskar wrote:
> 
>> -----Original Message-----
>> From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
>> Sent: Tuesday, May 03, 2011 7:43 PM
>> To: u-boot at lists.denx.de
>> Cc: Prafulla Wadaskar; holger.brunck at keymile.com; Valentin Longchamp;
>> Wolfgang Denk; Detlev Zundel
>> Subject: [PATCH v2 6/8] arm/km: rename mgcoge2un to mgcoge3un
>>
>> From: Holger Brunck <holger.brunck@keymile.com>
>>
>> The mgcoge2un target was only an intermediate step to mgcoge3un.
>> For this reason the mgcoge2un support was moved to mgcoge3un,
>> because it isn't needed to support both targets.
>>
>> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
>> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
>> Acked-by: Heiko Schocher <hs@denx.de>
>> cc: Prafulla Wadaskar <prafulla@marvell.com>
>> cc: Wolfgang Denk <wd@denx.de>
>> cc: Detlev Zundel <dzu@denx.de>
>> ---
>> Changes for v2:
>>    - split up first large patch series to three independent smaller
>>      patch series
>>
>>  MAINTAINERS                                  |    8 ++++----
>>  boards.cfg                                   |    2 +-
>>  include/configs/{mgcoge2un.h => mgcoge3un.h} |   10 +++++-----
>>  3 files changed, 10 insertions(+), 10 deletions(-)
>>  rename include/configs/{mgcoge2un.h => mgcoge3un.h} (92%)
>>
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index e2a4ba9..2dd1f8d 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -429,14 +429,11 @@ Heiko Schocher <hs@denx.de>
>>  	kmeter1		MPC8360
>>  	kmsupx5		MPC8321
>>  	mgcoge		MPC8247
>> -	mgcoge2ne	MPC8247
>> -	mgcoge2un	ARM926EJS (Kirkwood SoC)
>> +	mgcoge3ne	MPC8247
>>  	mucmc52		MPC5200
>>  	muas3001	MPC8270
>>  	municse		MPC5200
>>  	sc3		PPC405GP
>> -	suen3		ARM926EJS (Kirkwood SoC)
>> -	suen8		ARM926EJS (Kirkwood SoC)
>>  	suvd3		MPC8321
>>  	tuda1		MPC8321
>>  	tuxa1		MPC8321
>> @@ -814,6 +811,9 @@ Jens Scharsig <esw@bus-elektronik.de>
>>  Heiko Schocher <hs@denx.de>
>>
>>  	magnesium	i.MX27
>> +	mgcoge3un	ARM926EJS (Kirkwood SoC)
>> +	suen3		ARM926EJS (Kirkwood SoC)
>> +	suen8		ARM926EJS (Kirkwood SoC)
>>
>>  Robert Schwebel <r.schwebel@pengutronix.de>
>>
>> diff --git a/boards.cfg b/boards.cfg
>> index 2b0900a..2d36c52 100644
>> --- a/boards.cfg
>> +++ b/boards.cfg
>> @@ -105,7 +105,7 @@ davinci_sffsdr               arm         arm926ejs
>> sffsdr              davinci
>>  davinci_sonata               arm         arm926ejs   sonata
>> davinci        davinci
>>  suen3                        arm         arm926ejs   km_arm
>> keymile        kirkwood
>>  suen8                        arm         arm926ejs   km_arm
>> keymile        kirkwood
>> -mgcoge2un                    arm         arm926ejs   km_arm
>> keymile        kirkwood
>> +mgcoge3un                    arm         arm926ejs   km_arm
>> keymile        kirkwood
>>  guruplug                     arm         arm926ejs   -
> 
> How are you addressing builds different boards in the same code?
> You can have some common code using features of boards.cfg
> Check top comments in boards.cfg
> 

This is a discussion we have already had for our ppc boards 
(http://lists.denx.de/pipermail/u-boot/2011-May/091873.html).

The current differences between our kirkwood boards are not many, but 
since we have new boards coming where the difference number is going to 
grow, it is going to be hard to keep many (even 2) boards in one single 
file. That why we prefer to have the differences (and common source code 
we have to maintain, I agree as well) in .h source files than in the 
boards.cfg file.

Regards

-- 
Valentin Longchamp
Embedded Software Engineer
Hardware and Chip Integration
______________________________________
KEYMILE AG
Schwarzenburgstr. 73
CH-3097 Liebefeld
Phone +41 31 377 1318
Fax   +41 31 377 1212
valentin.longchamp at keymile.com
www.keymile.com
______________________________________
KEYMILE: A Specialist as a Partner

  reply	other threads:[~2011-05-04  8:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 14:13 [U-Boot] [PATCH v2 0/8] keymile arm boards update, part 2 Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 1/8] arm/km: introduce and manage bootcount environment variable Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 2/8] arm/km: remove last_stage_init and unneeded printouts Valentin Longchamp
2011-05-04  7:30   ` Prafulla Wadaskar
2011-05-04  7:43     ` Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 3/8] arm/km: add BootROM config file for memphis SDRAM Valentin Longchamp
2011-05-04  7:30   ` Prafulla Wadaskar
2011-05-04  8:07     ` Valentin Longchamp
2011-05-04 22:22       ` Wolfgang Denk
2011-05-05  6:28         ` Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 4/8] arm/km: disable ls (through jffs2 support) Valentin Longchamp
2011-05-04  7:30   ` Prafulla Wadaskar
2011-05-03 14:13 ` [U-Boot] [PATCH v2 5/8] arm/km: add second serial interface for kirkwood Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 6/8] arm/km: rename mgcoge2un to mgcoge3un Valentin Longchamp
2011-05-04  7:30   ` Prafulla Wadaskar
2011-05-04  8:35     ` Valentin Longchamp [this message]
2011-05-04 22:17       ` Wolfgang Denk
2011-05-05  6:18         ` Valentin Longchamp
2011-05-03 14:13 ` [U-Boot] [PATCH v2 7/8] arm/km: change default settings for egiga on mgcoge3un Valentin Longchamp
2011-05-04  6:58   ` Prafulla Wadaskar
2011-05-04  8:08     ` Valentin Longchamp
2011-05-04 22:15     ` Wolfgang Denk
2011-05-03 14:13 ` [U-Boot] [PATCH v2 8/8] arm/km: update mgcoge3un board support Valentin Longchamp

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=4DC10FEC.1050200@keymile.com \
    --to=valentin.longchamp@keymile.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