[U-Boot] [RFC PATCH 1/7] reboard: define CONFIG_SYS_LEGACY_BOARD everywhere

Simon Glass sjg at chromium.org
Tue Nov 29 21:08:09 CET 2011


Hi Mike,

On Mon, Nov 28, 2011 at 7:11 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Monday 21 November 2011 18:57:54 Simon Glass wrote:
>> We are introducing a new unified board setup and we want this to
>> be the default. So we need to opt all architectures out first.
>
> the define says "BOARD", so shouldn't it be in board configs ?  we can do that
> easily: add it to include/config_defaults.h.  then boards that opt into it will
> #undef it in their own configs.

Thanks for looking at this.

I see this as an architecture feature - perhaps a rename to something
like CONFIG_LEGACY_ARCH would help? I quite badly want to avoid moving
boards over one at a time, or having boards for a particular
architecture that still do things the old way - it just increases
maintenance and means that my eventual patch to remove
arch/xxx/lib/board.c cannot be applied.

My idea for this CONFIG is purely as a temporary measure before boards
more over to the generic approach.

Regards,
Simon

> -mike
>


More information about the U-Boot mailing list