[U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS}
Kumar Gala
galak at kernel.crashing.org
Tue Oct 21 21:36:40 CEST 2008
On Oct 21, 2008, at 2:35 PM, Wolfgang Denk wrote:
> Dear Kumar Gala,
>
> In message <1224520793-28186-1-git-send-email-galak at kernel.crashing.org
> > you wrote:
>> Added the ability to config out bootm support for Linux, NetBSD,
>> RTEMS
>>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>> ---
>>
>> 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?
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.
- k
More information about the U-Boot
mailing list