diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-11 22:07:06 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:25 +0800 |
commit | 30928c1151225f4f318521bb3e04fa8431f7a938 (patch) | |
tree | 14b1e96fbd144bbedb5f52e46719c79d2481c53a /arch/x86/lib/ramtest.c | |
parent | b70e742d16d7c95d607fa5caf8b6471c259016a4 (diff) | |
download | talos-obmc-uboot-30928c1151225f4f318521bb3e04fa8431f7a938.tar.gz talos-obmc-uboot-30928c1151225f4f318521bb3e04fa8431f7a938.zip |
x86: Add macros to clear and set I/O bits
The clrsetbits_...() macros are useful for working with memory mapped I/O.
But they do not work with I/O space, as used on x86 machines.
Add some macros to provide similar features for I/O.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/ramtest.c')
0 files changed, 0 insertions, 0 deletions