In some SoCs, such as MT8189G/H, different numbers of PMICs are required. To ensure code reusability and compatibility, it is necessary to dynamically set this variable. Therefore, spmi_dev_cnt is changed to a function. BUG=b:379008996 BRANCH=none TEST=build passed Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com> Change-Id: Ib8d6306a81c276dceb021ddadec40803fd85019b Reviewed-on: https://review.coreboot.org/c/coreboot/+/87853 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com> |
||
|---|---|---|
| .. | ||
| include/soc | ||
| adsp.c | ||
| bootblock.c | ||
| ddp.c | ||
| devapc.c | ||
| gic.c | ||
| gpio.c | ||
| i2c.c | ||
| Kconfig | ||
| Makefile.mk | ||
| msdc.c | ||
| mt6315.c | ||
| mt6366.c | ||
| mtcmos.c | ||
| pll.c | ||
| pmic_wrap.c | ||
| pmif.c | ||
| pmif_clk.c | ||
| pmif_spmi.c | ||
| rtc.c | ||
| soc.c | ||
| spi.c | ||
| spm.c | ||
| usb.c | ||
| wdt.c | ||