coreboot-kgpe-d16/src/soc/mediatek
Nina Wu 31f914c554 soc/mediatek/mt8192: devapc: Add domain remap setting
MT8192 devapc supports remapping domains.
There may be different domain bit for different subsys.
For example, domain bit in INFRA is 4-bit, while in MMSYS,
domain bit is 2-bit. For INFRA master to access MM registers,
the domain bit will change from 4 to 2 and need to be remapped.

In this patch we have remapped:

1. TINYSYS (3-bit to 4-bit)
   - domain 3 to domain 3
   - others to domain 15

2. MMSYS slave (4-bit to 2-bit)
   - domain X to domain X, for X = 0 ~ 3
   - others to domain 0

Change-Id: Id10a4c0bdf141cc76a386159896c861d0dc302aa
Signed-off-by: Nina Wu <nina-cm.wu@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49790
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2021-03-15 02:28:32 +00:00
..
common soc/mediatek/common: Move DRAM implementation from mt8192 to common 2021-03-08 01:50:11 +00:00
mt8173 soc/mediatek/mt8173,mt8183: revise SOC DRAM implementation 2021-03-08 03:16:19 +00:00
mt8183 soc/mediatek/mt8173,mt8183: revise SOC DRAM implementation 2021-03-08 03:16:19 +00:00
mt8192 soc/mediatek/mt8192: devapc: Add domain remap setting 2021-03-15 02:28:32 +00:00
Kconfig