x86: Adjust I/O macros to work on 64-bit machines
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:46 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:25:29 +0000 (15:25 +0800)
commit3a44bfdf083f1d1dfbb3d1613d8ec75d07b7f972
treee6af46b0ffa135e96f7adabbee5c4c429d4ee77b
parentc6d84a30fe4cbfd438cb88d76b1cbb71dda2b2f8
x86: Adjust I/O macros to work on 64-bit machines

At present these macros give warnings on 64-bit machines and do not
correctly do 32-bit accesses. Update them to use linux types.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/io.h