soc/qualcomm/sc7180: Update hardware watchdog logging

Move watchdog functionality to common folder.

BUG=b:221393157
TEST=None

Signed-off-by: Kshitiz Godara <quic_kgodara@quicinc.com>
Change-Id: Ib2f7f21ce991fd8193329e7b8260e58e47bf39c4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65358
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Kshitiz Godara 2022-06-23 17:18:24 +05:30 committed by Felix Held
parent 05d135e6b0
commit d3f859d5e5
4 changed files with 9 additions and 9 deletions

View File

@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _SOC_QUALCOMM_WDOG_COMMON_H__
#define _SOC_QUALCOMM_WDOG_COMMON_H__
void check_wdog(void);
#endif /* _SOC_QUALCOMM_WDOG_COMMON_H__ */

View File

@ -25,8 +25,8 @@ verstage-$(CONFIG_DRIVERS_UART) += ../common/qupv3_uart.c
################################################################################
romstage-y += cbmem.c
romstage-y += watchdog.c
romstage-y += ../common/qclib.c
romstage-y += ../common/watchdog.c
romstage-y += qclib.c
romstage-y += ../common/mmu.c
romstage-y += mmu.c

View File

@ -1,8 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _SOC_QUALCOMM_SC7180_WDOG_H__
#define _SOC_QUALCOMM_SC7180_WDOG_H__
void check_wdog(void);
#endif /* _SOC_QUALCOMM_SC7180_WDOG_H__ */