[U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS}

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Oct 21 23:01:54 CEST 2008


On 21:42 Tue 21 Oct     , Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <4DE53147-6FF6-4145-AB35-68D124CD20F8 at kernel.crashing.org> you wrote:
> > 
> > >> +#define CONFIG_BOOTM_LINUX 1
> > >> +#define CONFIG_BOOTM_NETBSD 1
> > >> +#define CONFIG_BOOTM_RTEMS 1
> > >
> > > The only somewhat reasonable thing I can come up with  is  to  add  a
> > > "#define  CONFIG_BOOTM_LINUX"  to  all  board  config  files,  so all
> > > support Linux by default, and leave it up to the board maintainers to
> > > add additioonal OS support if needed.
> > >
> > > Comment?
> > 
> > Hmm, can we hold off on this until we have Kconfig than?  It would be  
> > much easier at that point rather me having to touch ~450 config.h's.
> 
> OK from my POV. Should we check in your patch as is, then?

Maybe simple add the CONFIG_BOOTM to include/config_cmd_default.h and 
include/config_cmd_all.h until we have Kconfig? So if a board do not need
an OS support it will just add an #undef to its config.

Best Regards,
J.


More information about the U-Boot mailing list