[U-Boot] [ANNOUNCE] ARM config scheme for board and machine update

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.

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

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.

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
participants (2)
-
Jean-Christophe PLAGNIOL-VILLARD
-
Wolfgang Denk