[U-Boot] [PATCH v2 21/51] x86: Add macros to clear and set I/O bits
Bin Meng
bmeng.cn at gmail.com
Mon Mar 14 06:10:31 CET 2016
On Sat, Mar 12, 2016 at 1:07 PM, Simon Glass <sjg at 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 at 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 at gmail.com>
More information about the U-Boot
mailing list