Remco Poelstra schreef: >>> Yes I do. They are straight from the LPC2292 code, so once they were >>> considered OK. I checked out the the write{s,l,b} functions in asm/io.h, >>> but although they look similar, for some reason they simply don't work. >>> Given the similarities between the write{s,l,b} and the PUT* functions, >>> what is the problem with those? Furthermore, the ARM architecture >>> doesn't use any kind of special instructions for accessing registers, >>> everything is memory mapped. >> please use readx/writex > > Thanks for the pointer, I'll look into those.
I can't find these functions/macros, but I think you mean the write{b,s,l} macros. As I already indicated in a previous e-mail, they do not work in my code. If I replace, e.g. the PUT32 with writel than the code doesn't run. I will look into that problem after I've finished another project at work. Kind regards, Remco Poelstra _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot