projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f22a9b
)
kernel: add s805 package define
author
Hui Zhang
<hui.zhang@amlogic.com>
Wed, 18 Apr 2018 07:54:50 +0000
(15:54 +0800)
committer
Yixun 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
patch
|
blob
|
history
diff --git
a/include/linux/amlogic/cpu_version.h
b/include/linux/amlogic/cpu_version.h
index
2a854f3
..
471c8be
100644
(file)
--- a/
include/linux/amlogic/cpu_version.h
+++ b/
include/linux/amlogic/cpu_version.h
@@
-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;