summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-12-06 13:12:44 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-12-14 16:11:28 +0000
commit2efb6142ca22a1b1372147c768e8f34dc5b4a299 (patch)
tree2698caa4437a72396946133f3d296c803e94b0e7 /src/soc/mediatek/mt8192
parent3437a6fbb0f6d61a692a0c0b82c45b77e27ead8e (diff)
soc/mediatek: add support for tracker version one
There are two versions for tracker system: Version 1 for MT8186, and version 2 for MT8192 and MT8195. Reference document: MT8169_bus_dbg_tracker_cfg_reg.xls from MediaTek internal. BUG=b:202871018 TEST=build pass Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: Idb146974da118b1cf5a349370bf7b2fa13f1aba8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59989 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8192')
-rw-r--r--src/soc/mediatek/mt8192/Makefile.inc2
-rw-r--r--src/soc/mediatek/mt8192/include/soc/tracker.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc
index b04acb56f1..aeb50a729b 100644
--- a/src/soc/mediatek/mt8192/Makefile.inc
+++ b/src/soc/mediatek/mt8192/Makefile.inc
@@ -10,7 +10,7 @@ bootblock-y += ../common/mmu_operations.c
bootblock-y += ../common/pll.c pll.c
bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
bootblock-y += ../common/timer.c
-bootblock-y += ../common/tracker.c
+bootblock-y += ../common/tracker.c ../common/tracker_v2.c
bootblock-y += ../common/uart.c
bootblock-y += ../common/wdt.c
diff --git a/src/soc/mediatek/mt8192/include/soc/tracker.h b/src/soc/mediatek/mt8192/include/soc/tracker.h
new file mode 100644
index 0000000000..0b6281114f
--- /dev/null
+++ b/src/soc/mediatek/mt8192/include/soc/tracker.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef SOC_MEDIATEK_MT8192_TRACKER_H
+#define SOC_MEDIATEK_MT8192_TRACKER_H
+
+#include <soc/tracker_v2.h>
+
+#endif