]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
PPC: add accessor macros to clear and set bits in one shot
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 4 Jun 2008 10:45:22 +0000 (12:45 +0200)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 10 Jun 2008 23:22:26 +0000 (18:22 -0500)
commit398415114f0a705163a14543e9fef03f734b1ffa
tree2f1a4523228aa2531a439b03f6463a4322cddca1
parent4677988c7edc070c3786d3db7994abeca3ab82a0
PPC: add accessor macros to clear and set bits in one shot

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 forthcoming FSL NAND UPM driver re-write and
the support for the TQM8548 module.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
include/asm-ppc/io.h