]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: qemu: Enable legacy IDE I/O ports decode
authorBin Meng <bmeng.cn@gmail.com>
Mon, 25 May 2015 14:36:26 +0000 (22:36 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:16 +0000 (22:48 +0200)
commit8aceba2628b46d140373de168daa5483c282cd24
treeee99f5752062645bb1f18dd87310795975e7d709
parent2623f0438f4ce172471438cd0b1173c0a54e7e61
x86: qemu: Enable legacy IDE I/O ports decode

QEMU always decode legacy IDE I/O ports on PIIX chipset. However Linux ata_piix
driver does sanity check to see whether legacy ports decode is turned on.
To make Linux ata_piix driver happy, turn on the decode via IDE_TIMING register.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/qemu/pci.c
arch/x86/include/asm/arch-qemu/device.h [new file with mode: 0644]
arch/x86/include/asm/arch-qemu/qemu.h