coreboot/src/soc/mediatek
Crystal Guo 812379f500 soc/mediatek/common: Move map_to_lpddr_dram_type() to common for reuse
Relocate map_to_lpddr_dram_type() to the common directory to enable
sharing across MT8189, MT8196, and other SoCs with the same
DRAM_DRAM_TYPE_T values.

BUG=b:417001336
BRANCH=none
TEST=Check boot log
LPDDR5 chan0(x16) rank0: density 16384mbits x16, MF ff rev 0800
LPDDR5 chan0(x16) rank1: density 16384mbits x16, MF ff rev 0800
LPDDR5 chan1(x16) rank0: density 16384mbits x16, MF ff rev 0800
LPDDR5 chan1(x16) rank1: density 16384mbits x16, MF ff rev 0800

Signed-off-by: Crystal Guo <crystal.guo@mediatek.corp-partner.google.com>
Change-Id: I53d70aa26991f89ef05e56f8b7d972f8208d2484
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88123
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
2025-06-19 15:15:31 +00:00
..
common soc/mediatek/common: Move map_to_lpddr_dram_type() to common for reuse 2025-06-19 15:15:31 +00:00
mt8173 soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
mt8183 soc/mediatek/common: Refactor auxadc driver to support new platform 2025-06-04 06:06:25 +00:00
mt8186 soc/mediatek/common: Refactor auxadc driver to support new platform 2025-06-04 06:06:25 +00:00
mt8188 soc/mediatek/common: Refactor auxadc driver to support new platform 2025-06-04 06:06:25 +00:00
mt8189 soc/mediatek/common: Move map_to_lpddr_dram_type() to common for reuse 2025-06-19 15:15:31 +00:00
mt8192 soc/mediatek/common: Refactor auxadc driver to support new platform 2025-06-04 06:06:25 +00:00
mt8195 soc/mediatek/common: Refactor auxadc driver to support new platform 2025-06-04 06:06:25 +00:00
mt8196 soc/mediatek/common: Move map_to_lpddr_dram_type() to common for reuse 2025-06-19 15:15:31 +00:00