소스 검색

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)
 {