xiaoxiang781216 commented on code in PR #21519:
URL: https://github.com/apache/nuttx/pull/21519#discussion_r4541357688


##########
arch/tricore/src/illd/tc3xx/Configurations/Ifx_Cfg_Ssw.h:
##########
@@ -83,14 +83,14 @@ extern void Ifx_Ssw_Monbist(void);
 #endif
 
 #if IFX_CFG_SSW_ENABLE_PLL_INIT == 1U
-#include "IfxScuCcu.h"
-
-#define IFX_CFG_SSW_CALLOUT_PLL_INIT()                    \
-{                                                         \
-  if (IfxScuCcu_init(&IfxScuCcu_defaultClockConfig) == 1) \
-    {                                                     \
-      __debug();                                          \
-    }                                                     \
+int tricore_clockconfig(void);
+
+#define IFX_CFG_SSW_CALLOUT_PLL_INIT()   \
+{                                        \
+  if (tricore_clockconfig() != 0)        \
+    {                                    \
+      __asm__ volatile ("debug");        \

Review Comment:
   why need? let's follow tc4xx and remove the macro



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to