]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:39 +0000 (02:39 -0600)
commit0fcb7acf6748d2ee0b7abfd75e074840be6b7e0e
tree665c64676564c76a278dca6464b410c5822a5dd4
parentcc7debc7199b3c637ceead92bc103aeb6eb10a38
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