From: Mike Frysinger Date: Mon, 12 Mar 2012 22:03:42 -0400 Subject: [U-Boot] [PATCH V3] BOOT: Add "bootz" command to boot Linux zImage In-Reply-To: <1331588061-21546-1-git-send-email-marex@denx.de> References: <1331588061-21546-1-git-send-email-marex@denx.de> Message-ID: <201203122203.43686.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 Monday 12 March 2012 17:34:21 Marek Vasut wrote: > common/Makefile | 1 + > common/cmd_bootm.c | 29 +-------- > common/cmd_bootz.c | 175 > include/image.h | 8 +++ new commands should be in include/config_cmd_all.h and the top level README > --- /dev/null > +++ b/common/cmd_bootz.c > > + * Copyright (C) 2011 Marek Vasut it's 2012 now > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#if defined(CONFIG_SYS_HUSH_PARSER) > +#include > +#endif seems like these are all unused > +#define IH_INITRD_ARCH IH_ARCH_DEFAULT this gets used in one place. just inline its usage > +extern int do_bootm_linux(int flag, int argc, char * const argv[], > + bootm_headers_t *images); should get moved to include/command.h instead of copying it to more places > --- a/common/image.c > +++ b/common/image.c > > +#ifdef CONFIG_LMB should be a space after #ifdef, not a tab > +void __arch_preboot_os(void) static -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: