[U-Boot] [PATCH] MIPS: qemu_mips: Fix a build failure caused by missing

Himanshu Chauhan
2009-12-19T06:56:15Z

Wolfgang Denk wrote:
> Dear Himanshu Chauhan,
>
> In message <4B2B79A9.1000106@symmetricore.com> you wrote:
>> Stefan Roese wrote:
>>> On Friday 18 December 2009 13:20:56 Stefan Roese wrote:
>>>>> I think thats what it is. Both are same.
>>>> No, not exactly. They're nearly identical. But there are differences. Not
>>>> sure if these differences are important though.
>>>>
>>>> Don't get me wrong. I'm not NACK'ing the patch. I'm just pointing out that
>>>> it's different from the Linux version.
>>> Just to make it clear. Here a diff between both versions:
>>>
>>> --- u-boot/include/asm-mips/unaligned.h
>>> +++ linux-2.6/linus/arch/mips/include/asm/unaligned.h
>> I think whatever Shinya sent was modified version of linux's unaligned.h
>> and its working.
>
> Hm... has this really been tested on both big endian and on little
> endian MIPS systems?
>
> Best regards,
>
> Wolfgang Denk
>

Dear Wolfgang,

I am using MIPS emulation on QEMU for my U-Boot. This patch works on big-endian emulation. I haven't
tested it on little endian emulation. My statement of "its working" was for the build fix. So I
won't say its ready for commit before being *actually* tested thoroughly.

Best Regards
Himanshu