PD#172587: chipid: add chip id definition for tl1
Change-Id: Icd45ea3b960de2d9094878f96a6da584cc5c6d55
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
#define MESON_CPU_MAJOR_ID_G12A 0x28
#define MESON_CPU_MAJOR_ID_G12B 0x29
+#define MESON_CPU_MAJOR_ID_TL1 0x2E
+
#define MESON_CPU_VERSION_LVL_MAJOR 0
#define MESON_CPU_VERSION_LVL_MINOR 1
#define MESON_CPU_VERSION_LVL_PACK 2
return get_cpu_type() == MESON_CPU_MAJOR_ID_G12B;
}
+static inline bool is_meson_tl1_cpu(void)
+{
+ return get_cpu_type() == MESON_CPU_MAJOR_ID_TL1;
+}
+
static inline bool cpu_after_eq(unsigned int id)
{
return get_cpu_type() >= id;