diff options
author | Zhenguo Li <ot_zhenguo.li@mediatek.corp-partner.google.com> | 2021-10-08 17:08:30 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-13 13:58:01 +0000 |
commit | 6b0661d12099a6a582aee8f0f649f4bf2b382dd7 (patch) | |
tree | e066a6f5db3b5895d633c609b9db09a95144ac48 /src/soc/mediatek/mt8192/soc.c | |
parent | dacff81a66676e8816740b98266aa2257137fd81 (diff) |
soc/mediatek/mt8192: add tracker dump
Tracker is a debugging tool, include AP/INFRA/PERI tracker.
When bus timeout occurs, the system reboots and latches some
values which could be used for debug.
Signed-off-by: Zhenguo Li <ot_zhenguo.li@mediatek.corp-partner.google.com>
Change-Id: I82f8e6e5f8ccb7f8246cae45a01a3ddd5f2966f2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58244
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8192/soc.c')
-rw-r--r-- | src/soc/mediatek/mt8192/soc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/soc.c b/src/soc/mediatek/mt8192/soc.c index 006a212da9..355827ac27 100644 --- a/src/soc/mediatek/mt8192/soc.c +++ b/src/soc/mediatek/mt8192/soc.c @@ -9,6 +9,7 @@ #include <soc/mcupm.h> #include <soc/mmu_operations.h> #include <soc/sspm.h> +#include <soc/tracker_common.h> #include <soc/ufs.h> #include <symbols.h> @@ -33,6 +34,7 @@ static void soc_init(struct device *dev) if (CONFIG(MTK_DFD)) dfd_init(); ufs_disable_refclk(); + bustracker_init(); } static struct device_operations soc_ops = { |