Re: [U-Boot] [RFC PATCH 09/20] sandbox: Add bootm support

2011-09-23 Thread Simon Glass
On Sat, Sep 17, 2011 at 5:16 PM, Mike Frysinger wrote: > On Saturday, September 17, 2011 12:48:48 Simon Glass wrote: >> --- a/common/cmd_bootm.c >> +++ b/common/cmd_bootm.c >> >> +#if BITS_PER_LONG == 32 >>       int   (*appl)(int, char * const []); >> +#endif >> >> +#if BITS_PER_LONG == 32 >>    

Re: [U-Boot] [RFC PATCH 09/20] sandbox: Add bootm support

2011-09-17 Thread Mike Frysinger
On Saturday, September 17, 2011 12:48:48 Simon Glass wrote: > --- a/common/cmd_bootm.c > +++ b/common/cmd_bootm.c > > +#if BITS_PER_LONG == 32 > int (*appl)(int, char * const []); > +#endif > > +#if BITS_PER_LONG == 32 > appl = (int (*)(int, char * const []))ntohl(images.ep); >

[U-Boot] [RFC PATCH 09/20] sandbox: Add bootm support

2011-09-17 Thread Simon Glass
This adds sandbox architecture support to bootm, although it is probably not useful to load sandbox code into the address space and execute it. These changes at least make the file build correctly on 64-bit machines. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 11 --- 1 files