diff options
author | Kshitiz Godara <quic_kgodara@quicinc.com> | 2022-06-23 17:18:24 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-04 14:03:21 +0000 |
commit | d3f859d5e530d9fdd56e928247a14b09a256410d (patch) | |
tree | 39a5d1bff4918b3c162b821eb3f4a7982f681dfd /src/soc/qualcomm | |
parent | 05d135e6b0cc99edcb3ae9e5e8441cb60a59def1 (diff) |
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>
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r-- | src/soc/qualcomm/common/include/soc/watchdog.h | 8 | ||||
-rw-r--r-- | src/soc/qualcomm/common/watchdog.c (renamed from src/soc/qualcomm/sc7180/watchdog.c) | 0 | ||||
-rw-r--r-- | src/soc/qualcomm/sc7180/Makefile.inc | 2 | ||||
-rw-r--r-- | src/soc/qualcomm/sc7180/include/soc/watchdog.h | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/qualcomm/common/include/soc/watchdog.h b/src/soc/qualcomm/common/include/soc/watchdog.h new file mode 100644 index 0000000000..1995e62742 --- /dev/null +++ b/src/soc/qualcomm/common/include/soc/watchdog.h @@ -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__ */ diff --git a/src/soc/qualcomm/sc7180/watchdog.c b/src/soc/qualcomm/common/watchdog.c index 680d70b2d3..680d70b2d3 100644 --- a/src/soc/qualcomm/sc7180/watchdog.c +++ b/src/soc/qualcomm/common/watchdog.c diff --git a/src/soc/qualcomm/sc7180/Makefile.inc b/src/soc/qualcomm/sc7180/Makefile.inc index 262abfa392..956d80c207 100644 --- a/src/soc/qualcomm/sc7180/Makefile.inc +++ b/src/soc/qualcomm/sc7180/Makefile.inc @@ -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 diff --git a/src/soc/qualcomm/sc7180/include/soc/watchdog.h b/src/soc/qualcomm/sc7180/include/soc/watchdog.h deleted file mode 100644 index c5ddb55bba..0000000000 --- a/src/soc/qualcomm/sc7180/include/soc/watchdog.h +++ /dev/null @@ -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__ */ |