[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:38:42 CET 2016


On Mon, Mar 14, 2016 at 1:10 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list