summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-03-31 20:32:32 +0300
committerImre Deak <imre.deak@intel.com>2015-04-08 14:52:37 +0300
commitab7619b5d2d6ef16dfee86f0bdfc4dbea3c6e931 (patch)
tree6efc06ee7b31ff962506bce41f3ca35be72cbdd7 /lib/intel_chipset.h
parent6cd0ea090cc12dd1fb62a7ced97179ffc6dbb588 (diff)
lib/bxt: Add Broxton PCI ids
v2: Rebase on top of the SKL upstreaming Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
-rw-r--r--lib/intel_chipset.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 3c66744f..37554e64 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -206,6 +206,11 @@ void intel_check_pch(void);
#define PCI_CHIP_SKYLAKE_SRV_GT1 0x190A
#define PCI_CHIP_SKYLAKE_WKS_GT2 0x191D
+#define PCI_CHIP_BROXTON_0 0x0A84
+#define PCI_CHIP_BROXTON_1 0x0A85
+#define PCI_CHIP_BROXTON_2 0x0A86
+#define PCI_CHIP_BROXTON_3 0x0A87
+
#endif /* __GTK_DOC_IGNORE__ */
#define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \
@@ -390,7 +395,12 @@ void intel_check_pch(void);
IS_SKL_GT2(devid) || \
IS_SKL_GT3(devid))
-#define IS_GEN9(devid) IS_SKYLAKE(devid)
+#define IS_BROXTON(devid) ((devid) == PCI_CHIP_BROXTON_0 || \
+ (devid) == PCI_CHIP_BROXTON_1 || \
+ (devid) == PCI_CHIP_BROXTON_2 || \
+ (devid) == PCI_CHIP_BROXTON_3)
+
+#define IS_GEN9(devid) (IS_SKYLAKE(devid) || IS_BROXTON(devid))
#define IS_965(devid) (IS_GEN4(devid) || \
IS_GEN5(devid) || \