kernel: add s805 package define
authorHui Zhang <hui.zhang@amlogic.com>
Wed, 18 Apr 2018 07:54:50 +0000 (15:54 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 26 Apr 2018 11:19:22 +0000 (04:19 -0700)
PD#163927: add a interlace to get s805x package

Change-Id: I7ff61a52e24215aae557c12fcffea783abceac2c
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
include/linux/amlogic/cpu_version.h

index 2a854f3..471c8be 100644 (file)
@@ -125,6 +125,11 @@ static inline bool is_meson_gxl_package_905M2(void)
        return is_meson_gxl_cpu() && package_id_is(0xe0);
 }
 
+static inline bool is_meson_gxl_package_805X(void)
+{
+       return is_meson_gxl_cpu() && package_id_is(0x30);
+}
+
 static inline bool is_meson_gxm_cpu(void)
 {
        return get_cpu_type() == MESON_CPU_MAJOR_ID_GXM;