From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 21 Oct 2008 23:01:54 +0200 Subject: [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} In-Reply-To: <20081021194247.9418A835694E@gemini.denx.de> References: <1224520793-28186-1-git-send-email-galak@kernel.crashing.org> <20081021193505.305A2835694E@gemini.denx.de> <4DE53147-6FF6-4145-AB35-68D124CD20F8@kernel.crashing.org> <20081021194247.9418A835694E@gemini.denx.de> Message-ID: <20081021210154.GA17626@game.jcrosoft.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 21:42 Tue 21 Oct , Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <4DE53147-6FF6-4145-AB35-68D124CD20F8@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.