From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 21 Oct 2008 15:47:28 -0400 Subject: [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} In-Reply-To: <20081021193505.305A2835694E@gemini.denx.de> References: <1224520793-28186-1-git-send-email-galak@kernel.crashing.org> <20081021193505.305A2835694E@gemini.denx.de> Message-ID: <200810211547.28807.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 21 October 2008, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1224520793-28186-1-git-send-email-galak@kernel.crashing.org> you wrote: > > Added the ability to config out bootm support for Linux, NetBSD, RTEMS > > > > Signed-off-by: Kumar Gala > > --- > > > > 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. sounds great to me -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20081021/be5e7cd1/attachment.pgp