[Addressed Review Comments]
authorVivek Dhande <a0132295@ti.com>
Tue, 29 Sep 2020 13:02:04 +0000 (18:32 +0530)
committerSivaraj R <sivaraj@ti.com>
Tue, 29 Sep 2020 13:41:11 +0000 (08:41 -0500)
Signed-off-by: Vivek Dhande <a0132295@ti.com>
packages/ti/osal/soc/j7200/osal_soc.h
packages/ti/osal/soc/j721e/osal_soc.h
packages/ti/osal/src/nonos/Utils_nonos.c

index 92bbfaa89f7af8f4143caa7fb65ad87d1685aaec..66dadc0b1500b72b0bc78a4bc510a0c01a4676f7 100755 (executable)
@@ -55,6 +55,7 @@ extern "C" {
 
 #define  EXTERNAL_CLOCK_KHZ_DEFAULT       (24000)
 #define  PMU_CLOCK_KHZ_DEFAULT            (1000000U)
+#define  OSAL_CPU_FREQ_KHZ_DEFAULT        (1000000U)
 
 #if defined(TIMERP_TIMER_FREQ_LO)
 #undef   TIMERP_TIMER_FREQ_LO
index 9afa59b9364fd3bb252f4dda589dd6bbf533003c..e1ab1950f238bd19323c950cd0f60a11f53bc6fb 100755 (executable)
@@ -55,6 +55,7 @@ extern "C" {
 
 #define  EXTERNAL_CLOCK_KHZ_DEFAULT       (24000)
 #define  PMU_CLOCK_KHZ_DEFAULT            (1000000U)
+#define  OSAL_CPU_FREQ_KHZ_DEFAULT        (1000000U)
 
 #if defined(TIMERP_TIMER_FREQ_LO)
 #undef   TIMERP_TIMER_FREQ_LO
index e3d473ca8bb618aec957ac6cc77c076eb8d279b7..afaea5f1cc73e70b1d0aa3e63e549a604b23fe0f 100644 (file)
@@ -59,12 +59,8 @@ uint32_t  gOsalSemAllocCnt   = 0U, gOsalSemPeak = 0U;
 uint32_t  gOsalTimerAllocCnt = 0U, gOsalTimerPeak = 0U;
 uint32_t  gOsalHwiAllocCnt   = 0U, gOsalHwiPeak = 0U;
 #ifndef OSAL_CPU_FREQ_KHZ_DEFAULT
-#if defined(SOC_J721E)
-#define OSAL_CPU_FREQ_KHZ_DEFAULT (1000000)
-#else
 #define OSAL_CPU_FREQ_KHZ_DEFAULT (400000)
 #endif
-#endif
 
 volatile bool Osal_DebugP_Assert_Val=(bool)true;