mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
71de1a49bb
PD#SWPL-71728 Problem: add debug_lockup support Solution: add debug_lockup support Verify: s4 Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com> Change-Id: I578f6c22b8a41aae861871249248618230f18859
22 lines
373 B
C
22 lines
373 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __AMLOGIC_DEBUG_MAIN_H
|
|
#define __AMLOGIC_DEBUG_MAIN_H
|
|
|
|
int debug_lockup_init(void);
|
|
int cpu_mhz_init(void);
|
|
|
|
#ifdef CONFIG_AMLOGIC_DEBUG_ATRACE
|
|
int meson_atrace_init(void);
|
|
#else
|
|
static inline int meson_atrace_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif
|