drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / soc / mediatek / common / tracker_v1.c
blob00e5bc81dcf308cb33f60e9e641707f11ce56ad8
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <commonlib/bsd/helpers.h>
4 #include <soc/addressmap.h>
5 #include <soc/tracker.h>
6 #include <soc/tracker_common.h>
8 /*
9 * for systracker:
10 * offset[0] dump from offset 0x100 ~ 0x13C.
11 * offset[1] dump from offset 0x200 ~ 0x23C.
14 static const u32 offsets[] = { AR_TRACK_OFFSET, AW_TRACK_OFFSET };
16 struct tracker tracker_data[TRACKER_NUM] = {
17 [TRACKER_SYSTRACKER] = {
18 .base_addr = DBG_TRACKER_BASE,
19 .timeout = BUS_DBG_CON_TIMEOUT,
20 .entry = SYS_TRACK_ENTRY,
21 .offsets = offsets,
22 .offsets_size = ARRAY_SIZE(offsets),
23 .str = "systracker",