From 2cea229e67cbcd6d2e854d58f7b4d4a0bffda303 Mon Sep 17 00:00:00 2001 From: Qiufang Dai Date: Tue, 23 Oct 2018 17:04:20 +0800 Subject: [PATCH] chipid: meson: add ops id for S805Y [1/2] PD#SWPL-940 Problem: Need ops id api for S805Y Solution: Add ops id api Verify: s805y_p215 Change-Id: I179f87acbc3f57456e0359bd0d502c58cc3a9b9c Signed-off-by: Qiufang Dai --- include/linux/amlogic/cpu_version.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/amlogic/cpu_version.h b/include/linux/amlogic/cpu_version.h index b0396b0..4a19070 100644 --- a/include/linux/amlogic/cpu_version.h +++ b/include/linux/amlogic/cpu_version.h @@ -132,6 +132,11 @@ static inline bool is_meson_gxl_package_805X(void) return is_meson_gxl_cpu() && package_id_is(0x30); } +static inline bool is_meson_gxl_package_805Y(void) +{ + return is_meson_gxl_cpu() && package_id_is(0xb0); +} + static inline bool is_meson_gxm_cpu(void) { return get_cpu_type() == MESON_CPU_MAJOR_ID_GXM; -- 2.7.4