From: Mike Frysinger Date: Mon, 26 Sep 2011 16:19:36 -0400 Subject: [U-Boot] [RFC PATCH v2 03/20] sandbox: Add architecture image support In-Reply-To: References: <1316794942-24709-1-git-send-email-sjg@chromium.org> <201109260101.53480.vapier@gentoo.org> Message-ID: <201109261619.38463.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, September 26, 2011 15:39:28 Simon Glass wrote: > On Sun, Sep 25, 2011 at 10:01 PM, Mike Frysinger wrote: > > On Friday, September 23, 2011 12:22:05 Simon Glass wrote: > >> #elif defined(__sparc__) > >> if (!image_check_arch (hdr, IH_ARCH_SPARC)) > >> +#elif defined(CONFIG_SANDBOX_ARCH) > >> + if (0) > >> #else > >> # error Unknown CPU type > >> #endif > > > > i wonder if this could be useful ... wouldn't it allow some testing of > > uImages if we had image_check_arch(hdr, IN_ARCH_SANDBOX) ? > > Possibly - it is a bit odd since we can't get the architecture from > the compiler. it would need to go first in the list since sandbox can > be built on any platform. I will take a look. you want to be able to test other uImage formats ? -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 : http://lists.denx.de/pipermail/u-boot/attachments/20110926/cf96ca94/attachment.pgp