Re: [U-Boot-Users] [PATCH] PPC: add accessor macros to clear and set bits in one shot

2008-06-04 Thread Detlev Zundel
Hi Wolfgang, PPC: add accessor macros to clear and set bits in one shot Although I think this is a good idea, I do not particularly like some details. This patch adds macros from linux/include/asm-powerpc/io.h to clear and set bits in one shot using the in_be32, out_be32, etc. accessor

Re: [U-Boot-Users] [PATCH] PPC: add accessor macros to clear and set bits in one shot

2008-06-04 Thread Wolfgang Grandegger
Hi Detlev, Detlev Zundel wrote: Hi Wolfgang, PPC: add accessor macros to clear and set bits in one shot Although I think this is a good idea, I do not particularly like some details. This patch adds macros from linux/include/asm-powerpc/io.h to clear and set bits in one shot using the

[U-Boot-Users] [PATCH] PPC: add accessor macros to clear and set bits in one shot

2008-06-02 Thread Wolfgang Grandegger
PPC: add accessor macros to clear and set bits in one shot This patch adds macros from linux/include/asm-powerpc/io.h to clear and set bits in one shot using the in_be32, out_be32, etc. accessor functions. They are very handy to manipulate bits it I/O registers. This patch is required for my