summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/arch-queensbay/tnc.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-10-01 00:36:04 -0700
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:25 -0600
commit1f124eba11cb1619e6d575770756230484e47bf7 (patch)
tree17162d5ac8901917b505736b240ce8bf907359d1 /arch/x86/include/asm/arch-queensbay/tnc.h
parent5bf935925ba48711b1bf3e17338b6f2faf74f39d (diff)
downloadtalos-obmc-uboot-1f124eba11cb1619e6d575770756230484e47bf7.tar.gz
talos-obmc-uboot-1f124eba11cb1619e6d575770756230484e47bf7.zip
x86: Allow disabling IGD on Intel Queensbay
Add a Kconfig option to disable the Integrated Graphics Device (IGD) so that it does not show in the PCI configuration space as a VGA disaplay controller. This gives a chance for U-Boot to run PCI/PCIe based graphics card's VGA BIOS and use that for the graphics console. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/arch-queensbay/tnc.h')
-rw-r--r--arch/x86/include/asm/arch-queensbay/tnc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-queensbay/tnc.h b/arch/x86/include/asm/arch-queensbay/tnc.h
index ad9a6c4892..23653949de 100644
--- a/arch/x86/include/asm/arch-queensbay/tnc.h
+++ b/arch/x86/include/asm/arch-queensbay/tnc.h
@@ -7,6 +7,11 @@
#ifndef _X86_ARCH_TNC_H_
#define _X86_ARCH_TNC_H_
+/* IGD Control Register */
+#define IGD_GC 0x50
+#define VGA_DISABLE 0x00020000
+#define GMS_MASK 0x00700000
+
/* Memory BAR Enable */
#define MEM_BAR_EN 0x00000001
OpenPOWER on IntegriCloud