kernel: add s805 package define

PD#163927: add a interlace to get s805x package

Change-Id: I7ff61a52e24215aae557c12fcffea783abceac2c
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
This commit is contained in:
Hui Zhang
2018-04-18 15:54:50 +08:00
committed by Yixun Lan
parent 2f22a9bc74
commit 83f3b93426

View 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;