Re: [U-Boot] [PATCH v4 03/19] sandbox: Add architecture image support

2011-10-07 Thread Mike Frysinger
On Friday 07 October 2011 15:58:36 Simon Glass wrote: > On Fri, Oct 7, 2011 at 10:35 AM, Mike Frysinger wrote: > > On Tuesday 04 October 2011 01:26:34 Simon Glass wrote: > >> --- a/include/image.h > >> +++ b/include/image.h > >> > >> static inline int image_check_target_arch (const image_header_t

Re: [U-Boot] [PATCH v4 03/19] sandbox: Add architecture image support

2011-10-07 Thread Simon Glass
Hi Mike, On Fri, Oct 7, 2011 at 10:35 AM, Mike Frysinger wrote: > On Tuesday 04 October 2011 01:26:34 Simon Glass wrote: >> --- a/include/image.h >> +++ b/include/image.h >> >>  static inline int image_check_target_arch (const image_header_t *hdr) >>  { >> -#if defined(__ARM__) >> +#if defined(CO

Re: [U-Boot] [PATCH v4 03/19] sandbox: Add architecture image support

2011-10-07 Thread Mike Frysinger
On Tuesday 04 October 2011 01:26:34 Simon Glass wrote: > --- a/include/image.h > +++ b/include/image.h > > static inline int image_check_target_arch (const image_header_t *hdr) > { > -#if defined(__ARM__) > +#if defined(CONFIG_SANDBOX_ARCH) > + if (!image_check_arch(hdr, IH_ARCH_SANDBOX)) >

[U-Boot] [PATCH v4 03/19] sandbox: Add architecture image support

2011-10-03 Thread Simon Glass
We won't actually load an image with this architecture, but we still need to define it. Signed-off-by: Simon Glass --- Changes in v3: - Add architecture image support for sandbox include/image.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/image.h b/i