commit | 30928c1151225f4f318521bb3e04fa8431f7a938 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Mar 11 22:07:06 2016 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 17 10:27:25 2016 +0800 |
tree | 14b1e96fbd144bbedb5f52e46719c79d2481c53a | |
parent | b70e742d16d7c95d607fa5caf8b6471c259016a4 [diff] |
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>