payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / adlrvp / memory_rpl.c
bloba541fbf1e211a8888ae706a90b8817768580baa9
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 return;
22 case ADL_P_LP5_1:
23 case ADL_P_LP5_2:
24 mem_cfg->Lp5BankMode = 1;
25 return;
26 default: