Hans dot Feldt at uab.ericsson.se wrote: > Change from: extern immap_t *immr: > to: extern volatile immap_t *immr;
Rather than do this, I would prefer you use a function local variable and load the global immr into it. You should also get into the habit of using barrier operations between such I/O accesses that must be properly ordered. The global volatile declaration isn't sufficient to enforce ordered operations. You just got lucky this time. Thanks. -- Dan ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/