soc/mediatek/mt8186: initialize DFD
commit362a4819b3f00f581d272f010d3a42c49a6b9d93
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Thu, 2 Dec 2021 11:17:06 +0000 (2 19:17 +0800)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 7 Jan 2022 15:29:31 +0000 (7 15:29 +0000)
treed0a0a5f5339d0eb71bbf3bb19255656f829c7081
parent1e9dfd9d8c8c432b885ed10f25b2101f9aa2d2b1
soc/mediatek/mt8186: initialize DFD

DFD (Design for Debug) is a debugging tool, which scans flip-flops
and dumps to internal RAM on the WDT reset. After system reboots,
those values can be shown for debugging using MTK internal parsing
tools.

BUG=b:202871018
TEST=build pass

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: I7b711755022b5d9767019611151fea65e71edc66
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60828
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/mediatek/mt8186/Makefile.inc
src/soc/mediatek/mt8186/include/soc/dfd.h [new file with mode: 0644]
src/soc/mediatek/mt8186/soc.c