public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update
@ 2009-06-13 15:02 Jean-Christophe PLAGNIOL-VILLARD
  2009-06-13 19:06 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-06-13 15:02 UTC (permalink / raw)
  To: u-boot

Hi,

	Currently boards and arch define there own CONFIG_IXP or CONFIG_VCMA9
	where they are also have a define in the mach-types.h

	so now to simplify linux code share and reduce duplicate define
	we switch to the linux style (please check the mach-types.h for it)

	CONFIG_ARCH_xxx for arch
	and
	CONFIG_MACH_xxx for machine

	for board and arch that are send precedently to this announce
	will not have to switch to be ack but it will nice to do it.
	We will switch the current one step by step

	For other arch and board it will be mandotory

	The Kconfig support will be send with in days and it will be also
	mandatory to have switch to it before be include in it's Kconfig files

Best Regards,
J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update
  2009-06-13 15:02 [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update Jean-Christophe PLAGNIOL-VILLARD
@ 2009-06-13 19:06 ` Wolfgang Denk
  2009-06-13 19:16   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-06-13 19:06 UTC (permalink / raw)
  To: u-boot

Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090613150259.GH25406@game.jcrosoft.org> you wrote:
> 
> 	Currently boards and arch define there own CONFIG_IXP or CONFIG_VCMA9
> 	where they are also have a define in the mach-types.h
> 
> 	so now to simplify linux code share and reduce duplicate define
> 	we switch to the linux style (please check the mach-types.h for it)
> 
> 	CONFIG_ARCH_xxx for arch
> 	and
> 	CONFIG_MACH_xxx for machine
> 
> 	for board and arch that are send precedently to this announce
> 	will not have to switch to be ack but it will nice to do it.
> 	We will switch the current one step by step
> 
> 	For other arch and board it will be mandotory
> 
> 	The Kconfig support will be send with in days and it will be also
> 	mandatory to have switch to it before be include in it's Kconfig files

How is this supposed to work with non-ARM architectures?

I don't want to see ARM-only code in U-Boot. If we change  the  board
configuration  etc.,  then  please in a way that works for all boards
and architectures.

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
Don't have a battle of wits with an unarmed opponent.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update
  2009-06-13 19:06 ` Wolfgang Denk
@ 2009-06-13 19:16   ` Jean-Christophe PLAGNIOL-VILLARD
  2009-06-13 23:17     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-06-13 19:16 UTC (permalink / raw)
  To: u-boot

On 21:06 Sat 13 Jun     , Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
> 
> In message <20090613150259.GH25406@game.jcrosoft.org> you wrote:
> > 
> > 	Currently boards and arch define there own CONFIG_IXP or CONFIG_VCMA9
> > 	where they are also have a define in the mach-types.h
> > 
> > 	so now to simplify linux code share and reduce duplicate define
> > 	we switch to the linux style (please check the mach-types.h for it)
> > 
> > 	CONFIG_ARCH_xxx for arch
> > 	and
> > 	CONFIG_MACH_xxx for machine
> > 
> > 	for board and arch that are send precedently to this announce
> > 	will not have to switch to be ack but it will nice to do it.
> > 	We will switch the current one step by step
> > 
> > 	For other arch and board it will be mandotory
> > 
> > 	The Kconfig support will be send with in days and it will be also
> > 	mandatory to have switch to it before be include in it's Kconfig files
> 
> How is this supposed to work with non-ARM architectures?
> 
> I don't want to see ARM-only code in U-Boot. If we change  the  board
> configuration  etc.,  then  please in a way that works for all boards
> and architectures.
I want to have this sync to simplify it.
This can be extended to the all boards if you want.
For arm all the board and arch config is defined in the mach-types.h so I use
it as reference but for other arch the idea can be the same and based if you
prefer in the Kconfig linux files

Best Regards,
J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update
  2009-06-13 19:16   ` Jean-Christophe PLAGNIOL-VILLARD
@ 2009-06-13 23:17     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-06-13 23:17 UTC (permalink / raw)
  To: u-boot

Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090613191644.GL25406@game.jcrosoft.org> you wrote:
>
> > > 	The Kconfig support will be send with in days and it will be also
> > > 	mandatory to have switch to it before be include in it's Kconfig files
> > 
> > How is this supposed to work with non-ARM architectures?
> > 
> > I don't want to see ARM-only code in U-Boot. If we change  the  board
> > configuration  etc.,  then  please in a way that works for all boards
> > and architectures.
> I want to have this sync to simplify it.
> This can be extended to the all boards if you want.

By adapting the mach-id to all other architectures? 

Only over my dead body.

> For arm all the board and arch config is defined in the mach-types.h so I use
> it as reference but for other arch the idea can be the same and based if you
> prefer in the Kconfig linux files

I prefer that we do not use the mach-id for anything unless it is
absolutely impossible to avoid it for compatibility with Linux.

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
2000 pounds of chinese soup                               = 1 Won Ton

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-13 23:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-13 15:02 [U-Boot] [ANNOUNCE] ARM config scheme for board and machine update Jean-Christophe PLAGNIOL-VILLARD
2009-06-13 19:06 ` Wolfgang Denk
2009-06-13 19:16   ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-13 23:17     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox