Dear Kumar Gala,

In message <[EMAIL PROTECTED]> you wrote:
> Added the ability to config out bootm support for Linux, NetBSD, RTEMS
> 
> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
> ---
> 
> Looking for suggestions on how to deal with enabling LINUX, NETBSD, and RTEMS.
...
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -103,13 +103,23 @@ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int 
> argc, char *argv[]);
>  typedef int boot_os_fn (int flag, int argc, char *argv[],
>                       bootm_headers_t *images); /* pointers to os/initrd/fdt 
> */
>  
> +#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?

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: [EMAIL PROTECTED]
"It was the Law of the Sea, they said. Civilization ends at  the  wa-
terline.  Beyond  that,  we  all enter the food chain, and not always
right at the top."                               - Hunter S. Thompson
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to