mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / intel / adlrvp / memory_rpl.c
blob8302a06d1fcfa01a114f0da4bcd6232bdab56317
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <soc/romstage.h>
6 #include "board_id.h"
8 void rpl_memory_params(FSPM_UPD *memupd)
10 FSP_M_CONFIG *mem_cfg = &memupd->FspmConfig;
12 int board_id = get_board_id();
14 switch (board_id) {
15 case ADL_P_LP4_1:
16 case ADL_P_LP4_2:
17 case ADL_P_DDR4_1:
18 case ADL_P_DDR4_2:
19 case ADL_P_DDR5_1:
20 case ADL_P_DDR5_2:
21 default:
22 return;
23 case ADL_P_LP5_1:
24 case ADL_P_LP5_2:
25 mem_cfg->Lp5BankMode = 1;
26 return;