File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -190,4 +190,8 @@ void arm64_chip_boot(void)
190190#ifdef CONFIG_SYSLOG_RPMSG
191191 syslog_rpmsg_init_early (g_syslog_rpmsg_buf , sizeof (g_syslog_rpmsg_buf ));
192192#endif
193+
194+ #ifdef CONFIG_ARCH_PERF_EVENTS
195+ up_perf_init ((void * )CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC );
196+ #endif
193197}
Original file line number Diff line number Diff line change 3838 * Pre-processor Definitions
3939 ****************************************************************************/
4040
41+ #define CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 62500000
42+
4143/****************************************************************************
4244 * Public Function Prototypes
4345 ****************************************************************************/
You can’t perform that action at this time.
0 commit comments