
14 Mar
2016
14 Mar
'16
6:38 a.m.
On Mon, Mar 14, 2016 at 1:10 PM, Bin Meng bmeng.cn@gmail.com wrote:
On Sat, Mar 12, 2016 at 1:07 PM, Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Use setio_32() instead of setio_le32(), etc.
arch/x86/include/asm/io.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86/next, thanks!