[U-Boot] Documenting the CONFIG_MACH_TYPE variable

Igor Grinberg grinberg at compulab.co.il
Thu May 5 07:29:08 CEST 2011


Hi Wolfgang,

On 05/05/11 01:14, Wolfgang Denk wrote:

> Dear Igor Grinberg,
>
> In message <4DC0FFB0.5080502 at compulab.co.il> you wrote:
>> While looking at how to document the CONFIG_MACH_TYPE variable,
>> I caught myself wondering, why don't we provide an option to set
>> this variable in board config file and set the bi_arch_number field in
>> a more generic location (e.g. arch/arm/lib/board.c: board_init_f()),
>> then it is right now (in each board's board_init() function)?
> "Historic reasons", probably.
>
>> Will such thing be accepted?
> Why not.
>
>> Are there any problems with it?
>>
>> Have anyone tried this in the past?
> Not that I know of.

Thanks, I'll send a patch in a couple of days.



-- 
Regards,
Igor.



More information about the U-Boot mailing list