From c538c2c637b763c63d694f095f01c07ff67aa18c Mon Sep 17 00:00:00 2001 From: marius vlad Date: Sat, 20 Aug 2016 18:32:01 +0300 Subject: lib/intel_chipset: Fix compilation when enabling the debugger. Add IS_SANDYBRIDGE() macro used by debugger/eudb. Signed-off-by: Marius Vlad CC: Chris Wilson Reviewed-by: Chris Wilson --- lib/intel_chipset.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/intel_chipset.h') diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 1003266f..3c1260bc 100644 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -147,6 +147,7 @@ void intel_check_pch(void); #define IS_IRONLAKE(devid) (intel_get_device_info(devid)->is_ironlake) #define IS_ARRANDALE(devid) (intel_get_device_info(devid)->is_arrandale) +#define IS_SANDYBRIDGE(devid) (intel_get_device_info(devid)->is_sandybridge) #define IS_IVYBRIDGE(devid) (intel_get_device_info(devid)->is_ivybridge) #define IS_VALLEYVIEW(devid) (intel_get_device_info(devid)->is_valleyview) #define IS_HASWELL(devid) (intel_get_device_info(devid)->is_haswell) -- cgit v1.2.3