From 081b66951f04bb67ad2d04750212a45fc0c24e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 30 Aug 2017 12:01:08 +0300 Subject: mainboard/lippert: Refactor SEMA watchdog message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's too critical to ignore when sending the message on SMBus fails, so allow for a fair amount of retries. Failure here causes watchdog to do hard reset later. Move it out of mainboard.c as we need to call this early in romstage while we are debugging. Change-Id: I1006b079269d6dd44de630db7a5694124af2f974 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/21316 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/lippert/toucan-af/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/lippert/toucan-af/Makefile.inc') diff --git a/src/mainboard/lippert/toucan-af/Makefile.inc b/src/mainboard/lippert/toucan-af/Makefile.inc index ba56286636..1080c64ded 100644 --- a/src/mainboard/lippert/toucan-af/Makefile.inc +++ b/src/mainboard/lippert/toucan-af/Makefile.inc @@ -27,3 +27,7 @@ romstage-y += OemCustomize.c ramstage-y += buildOpts.c ramstage-y += BiosCallOuts.c ramstage-y += OemCustomize.c + +# Minimal SEMA watchdog support +romstage-y += ../frontrunner-af/sema.c +ramstage-y += ../frontrunner-af/sema.c -- cgit v1.2.3