soc/mediatek: Rename dpm to dpm_v1
MT8196 equips new DPM hardware which is different from precedent SoCs. Therefore, we need implement a new DPM loader (said version 2) to run the blob. Considering the version iteration, rename the original dpm to dpm_v1. TEST=Build pass. BUG=b:317009620 Change-Id: I07afb8f5c23e96aad3c6cb0887cb7efd16ebf296 Signed-off-by: Crystal Guo <crystal.guo@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85211 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:
parent
992e09a1d5
commit
feddd37297
9 changed files with 11 additions and 11 deletions
|
|
@ -11,7 +11,7 @@
|
|||
#include <gpio.h>
|
||||
#include <soc/bl31.h>
|
||||
#include <soc/ddp.h>
|
||||
#include <soc/dpm.h>
|
||||
#include <soc/dpm_v1.h>
|
||||
#include <soc/dsi.h>
|
||||
#include <soc/gpio_common.h>
|
||||
#include <soc/i2c.h>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include <gpio.h>
|
||||
#include <soc/bl31.h>
|
||||
#include <soc/display.h>
|
||||
#include <soc/dpm.h>
|
||||
#include <soc/dpm_v1.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/msdc.h>
|
||||
#include <soc/mtcmos.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/mmio.h>
|
||||
#include <soc/dpm.h>
|
||||
#include <soc/dpm_v1.h>
|
||||
#include <soc/dramc_soc.h>
|
||||
#include <soc/spm.h>
|
||||
#include <soc/symbols.h>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <soc/dpm.h>
|
||||
#include <soc/dpm_v1.h>
|
||||
#include <soc/mcu_common.h>
|
||||
#include <soc/symbols.h>
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef __SOC_MEDIATEK_COMMON_DPM_H__
|
||||
#define __SOC_MEDIATEK_COMMON_DPM_H__
|
||||
#ifndef __SOC_MEDIATEK_COMMON_DPM_V1_H__
|
||||
#define __SOC_MEDIATEK_COMMON_DPM_V1_H__
|
||||
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/mcu_common.h>
|
||||
|
|
@ -53,4 +53,4 @@ int dpm_init(void);
|
|||
int dpm_4ch_para_setting(void);
|
||||
int dpm_4ch_init(void);
|
||||
|
||||
#endif /* __SOC_MEDIATEK_COMMON_DPM_H__ */
|
||||
#endif /* __SOC_MEDIATEK_COMMON_DPM_V1_H__ */
|
||||
|
|
@ -40,7 +40,7 @@ ramstage-y += ../common/devapc.c devapc.c
|
|||
ramstage-y += ../common/dfd.c
|
||||
ramstage-y += ../common/display.c
|
||||
ramstage-y += ../common/dp/dp_intf.c ../common/dp/dptx.c ../common/dp/dptx_hal.c dp_intf.c
|
||||
ramstage-y += ../common/dpm.c
|
||||
ramstage-y += ../common/dpm_v1.c
|
||||
ramstage-$(CONFIG_DPM_FOUR_CHANNEL) += ../common/dpm_4ch.c
|
||||
ramstage-y += ../common/dsi.c ../common/mtk_mipi_dphy.c
|
||||
ramstage-y += ../common/emi.c
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <soc/cpu_input_gating.h>
|
||||
#include <soc/devapc.h>
|
||||
#include <soc/dfd.h>
|
||||
#include <soc/dpm.h>
|
||||
#include <soc/dpm_v1.h>
|
||||
#include <soc/emi.h>
|
||||
#include <soc/mcupm.h>
|
||||
#include <soc/mmu_operations.h>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ ramstage-$(CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE) += ../common/bl31.c
|
|||
ramstage-y += ../common/ddp.c ddp.c
|
||||
ramstage-y += devapc.c
|
||||
ramstage-y += ../common/dfd.c
|
||||
ramstage-y += ../common/dpm.c
|
||||
ramstage-y += ../common/dpm_v1.c
|
||||
ramstage-y += ../common/dsi.c ../common/mtk_mipi_dphy.c
|
||||
ramstage-y += ../common/l2c_ops.c
|
||||
ramstage-y += ../common/mcu.c
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ ramstage-y += ../common/ddp.c ddp.c
|
|||
ramstage-y += ../common/devapc.c devapc.c
|
||||
ramstage-y += ../common/dfd.c
|
||||
ramstage-y += ../common/display.c
|
||||
ramstage-y += ../common/dpm.c
|
||||
ramstage-y += ../common/dpm_v1.c
|
||||
ramstage-$(CONFIG_DPM_FOUR_CHANNEL) += ../common/dpm_4ch.c
|
||||
ramstage-y += ../common/dp/dp_intf.c ../common/dp/dptx.c ../common/dp/dptx_hal.c dp_intf.c
|
||||
ramstage-y += emi.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue