soc/mediatek/mt8188: Enable USE_CBMEM_DRAM_INFO
The feature "USE_CBMEM_DRAM_INFO" is supported in MT8188. Therefore, we select this configuration to enable it. TEST=build pass BUG=b:233720142 Signed-off-by: Xi Chen <xixi.chen@mediatek.com> Change-Id: I14f3d971fe861cbd09cc86c8a5a1fb531bfe78d7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66280 Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b1c3b9963b
commit
3729b1c2a8
|
@ -10,6 +10,7 @@ config SOC_MEDIATEK_MT8188
|
|||
select FLASH_DUAL_IO_READ
|
||||
select CACHE_MRC_SETTINGS
|
||||
select MEDIATEK_BLOB_FAST_INIT
|
||||
select USE_CBMEM_DRAM_INFO
|
||||
|
||||
if SOC_MEDIATEK_MT8188
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ romstage-y += ../common/cbmem.c
|
|||
romstage-y += ../common/clkbuf.c
|
||||
romstage-y += ../common/dram_init.c
|
||||
romstage-y += ../common/dramc_param.c
|
||||
romstage-y += emi.c
|
||||
romstage-y += ../common/emi.c
|
||||
romstage-y += ../common/memory.c
|
||||
romstage-y += ../common/memory_test.c
|
||||
romstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c
|
||||
|
@ -30,7 +30,7 @@ romstage-y += ../common/rtc.c ../common/rtc_osc_init.c ../common/rtc_mt6359p.c
|
|||
|
||||
ramstage-y += ../common/auxadc.c
|
||||
ramstage-y += ../common/dfd.c
|
||||
ramstage-y += emi.c
|
||||
ramstage-y += ../common/emi.c
|
||||
ramstage-y += ../common/mcu.c
|
||||
ramstage-y += ../common/mcupm.c
|
||||
ramstage-y += ../common/mmu_operations.c ../common/mmu_cmops.c
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
|
||||
|
||||
/*
|
||||
* This file is created based on MT8188 Functional Specification
|
||||
* Chapter number: 3.7
|
||||
*/
|
||||
|
||||
#include <soc/emi.h>
|
||||
|
||||
size_t sdram_size(void)
|
||||
{
|
||||
return (size_t)4 * GiB;
|
||||
}
|
||||
|
||||
void mt_set_emi(struct dramc_param *dparam)
|
||||
{
|
||||
/* Do nothing */
|
||||
}
|
Loading…
Reference in New Issue