Hi Mike, On Sun, Sep 25, 2011 at 10:01 PM, Mike Frysinger <vap...@gentoo.org> 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. Regards, Simon > -mike > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot