soc/mediatek/mt8196: Rename SCP to SPM base variables

Rename SCP_BASE to SPM_BASE and SCP_PBUS_BASE to SPM_PBUS_BASE.

TEST=build pass
BUG=b:317009620

Change-Id: I044bdb5a02c7fef4cf7be1f6aa759a33d9cc0c8c
Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85521
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
Jarried Lin 2024-12-06 14:56:45 +08:00 committed by Yu-Ping Wu
commit 1a4ab38035
2 changed files with 3 additions and 3 deletions

View file

@ -141,8 +141,8 @@ enum {
APINFRA_SSR_AO_DEBUG_BASE = IO_PHYS + 0x080F1000,
AUDIO_BASE = IO_PHYS + 0x0A110000,
VLPCFG_BASE = IO_PHYS + 0x0C001000,
SCP_BASE = IO_PHYS + 0x0C004000,
SCP_PBUS_BASE = IO_PHYS + 0x0C00D000,
SPM_BASE = IO_PHYS + 0x0C004000,
SPM_PBUS_BASE = IO_PHYS + 0x0C00D000,
RGU_BASE = IO_PHYS + 0x0C010000,
GPT_BASE = IO_PHYS + 0x0C015000,
VLP_CKSYS_BASE = IO_PHYS + 0x0C016000,

View file

@ -36,7 +36,7 @@ static struct mtk_pericfg_regs *const
static struct mtk_ssr_regs *const
mtk_ssr = (void *)SSR_TOP_BASE;
static struct mtk_spm_mtcmos_regs *const
mtk_spm_mtcmos = (void *)SCP_BASE;
mtk_spm_mtcmos = (void *)SPM_BASE;
static struct mtk_vlp_regs *const
mtk_vlpsys = (void *)VLP_CKSYS_BASE;
static struct mtk_dispsys_regs *const