Messages in this thread | | | Date | Sat, 20 Mar 2010 11:37:24 -0400 (EDT) | From | Nicolas Pitre <> | Subject | Re: [PATCH] MTD: Fix Orion NAND driver compilation with ARM OABI |
| |
On Sat, 20 Mar 2010, Mikael Pettersson wrote:
> I missed the start of this thread, but looking at orion_nand.c I fail to > see why you'd need to mess with inline asm for reading a sequence of u64 > values from an I/O location to an array.
The reason for doing so with inline asm in the first place was not discussed in this thread.
> Rewriting that to proper C generates a nice ldrd;strd loop with my gcc-4.4.3.
Sure, GCC version 4.4.3 does the right thing. Not all of them do.
Nicolas
| |