浏览代码

waterDataPreprocessing levelDataPreprocessingThread.c 袁明明 commit at 2020-10-26

袁明明 4 年之前
父节点
当前提交
66ef1c688a
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      waterDataPreprocessing/dataProcessing/levelDataPreprocessingThread.c

+ 11 - 0
waterDataPreprocessing/dataProcessing/levelDataPreprocessingThread.c

@@ -273,4 +273,15 @@ void __init omap3xxx_check_features(void)
 }
 
 void __init omap4xxx_check_features(void)
+{
+	u32 si_type;
+
+	si_type =
+	(read_tap_reg(OMAP4_CTRL_MODULE_CORE_STD_FUSE_PROD_ID_1) >> 16) & 0x03;
+
+	if (si_type == OMAP4_SILICON_TYPE_PERFORMANCE)
+		omap_features = OMAP4_HAS_PERF_SILICON;
+}
+
+void __init ti81xx_check_features(void)
 {