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
>>
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);
>
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
3 matches
Mail list logo