diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2008-06-04 12:45:22 +0200 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-06-10 18:22:26 -0500 |
commit | 398415114f0a705163a14543e9fef03f734b1ffa (patch) | |
tree | 2f1a4523228aa2531a439b03f6463a4322cddca1 /cpu/mpc85xx/cpu.c | |
parent | 4677988c7edc070c3786d3db7994abeca3ab82a0 (diff) | |
download | u-boot-imx-398415114f0a705163a14543e9fef03f734b1ffa.zip u-boot-imx-398415114f0a705163a14543e9fef03f734b1ffa.tar.gz u-boot-imx-398415114f0a705163a14543e9fef03f734b1ffa.tar.bz2 |
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>
Diffstat (limited to 'cpu/mpc85xx/cpu.c')
0 files changed, 0 insertions, 0 deletions