[U-Boot] [PATCH v2 6/8] arm/km: rename mgcoge2un to mgcoge3un

Prafulla Wadaskar prafulla at marvell.com
Wed May 4 09:30:31 CEST 2011



> -----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 at 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 at keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
> Acked-by: Heiko Schocher <hs at denx.de>
> cc: Prafulla Wadaskar <prafulla at marvell.com>
> cc: Wolfgang Denk <wd at denx.de>
> cc: Detlev Zundel <dzu at 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 at 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 at bus-elektronik.de>
>  Heiko Schocher <hs at denx.de>
> 
>  	magnesium	i.MX27
> +	mgcoge3un	ARM926EJS (Kirkwood SoC)
> +	suen3		ARM926EJS (Kirkwood SoC)
> +	suen8		ARM926EJS (Kirkwood SoC)
> 
>  Robert Schwebel <r.schwebel at 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

Regards..
Prafulla . .


More information about the U-Boot mailing list