diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-07-22 08:21:14 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-28 16:36:25 (GMT) |
commit | 9830d2ebb4f1683ff7f50b3420374a1843839378 (patch) | |
tree | f00ef30f3dbb7b151bb0b27db32bba0ef7904e92 /arch/x86/include | |
parent | a8ebf283e98d0eda0b7c76647cdcd3f36f34837c (diff) | |
download | u-boot-9830d2ebb4f1683ff7f50b3420374a1843839378.tar.xz |
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')
-rw-r--r-- | arch/x86/include/asm/arch-qemu/qemu.h | 4 |
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 8c8e4ac..b67d342 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 |