Browse Source

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

袁明明 4 years ago
parent
commit
66ef1c688a
1 changed files with 11 additions and 0 deletions
  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)
 {