summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/arch-qemu
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-07-22 01:21:14 -0700
committerSimon Glass <sjg@chromium.org>2015-07-28 10:36:25 -0600
commit9830d2ebb4f1683ff7f50b3420374a1843839378 (patch)
treef00ef30f3dbb7b151bb0b27db32bba0ef7904e92 /arch/x86/include/asm/arch-qemu
parenta8ebf283e98d0eda0b7c76647cdcd3f36f34837c (diff)
downloadu-boot-9830d2ebb4f1683ff7f50b3420374a1843839378.tar.gz
u-boot-9830d2ebb4f1683ff7f50b3420374a1843839378.tar.xz
u-boot-9830d2ebb4f1683ff7f50b3420374a1843839378.zip
x86: qemu: Turn on PCIe ECAM address range decoding on Q35
Turn on PCIe ECAM address range decoding on Q35. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-qemu')
-rw-r--r--arch/x86/include/asm/arch-qemu/qemu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-qemu/qemu.h b/arch/x86/include/asm/arch-qemu/qemu.h
index 8c8e4ac1f6..b67d3428ee 100644
--- a/arch/x86/include/asm/arch-qemu/qemu.h
+++ b/arch/x86/include/asm/arch-qemu/qemu.h
@@ -22,6 +22,10 @@
#define IDE1_TIM 0x42
#define IDE_DECODE_EN (1 << 15)
+/* PCIe ECAM Base Address Register */
+#define PCIEX_BAR 0x60
+#define BAR_EN (1 << 0)
+
/* I/O Ports */
#define CMOS_ADDR_PORT 0x70
#define CMOS_DATA_PORT 0x71