soc/intel/alderlake: Default to 512 for DIMM_SPD_SIZE
Alderlake and Raptorlake SoCs support DDR4 and DDR5, which have a total SPD size of 512 bytes. Set this as the default and remove the setting from mainboard Kconfigs. Change-Id: I8703ec25454a0cd55a3de70f73d2117285a833ae Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82115 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		| @@ -131,9 +131,6 @@ config VARIANT_DIR | ||||
| config VBOOT | ||||
| 	select VBOOT_LID_SWITCH | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config UART_FOR_CONSOLE | ||||
| 	int | ||||
| 	default 0 | ||||
|   | ||||
| @@ -817,9 +817,6 @@ config VBOOT | ||||
| 	select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA | ||||
| 	select VBOOT_LID_SWITCH | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config UART_FOR_CONSOLE | ||||
| 	int | ||||
| 	default 0 | ||||
|   | ||||
| @@ -135,9 +135,6 @@ config DEVICETREE | ||||
| config OVERRIDE_DEVICETREE | ||||
| 	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| choice | ||||
| 	prompt "ON BOARD EC" | ||||
| 	default ADL_CHROME_EC if BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_P_MCHP || BOARD_INTEL_ADLRVP_N_EXT_EC || BOARD_INTEL_ADLRVP_RPL_EXT_EC | ||||
|   | ||||
| @@ -42,9 +42,6 @@ config VBOOT | ||||
| 	select HAS_RECOVERY_MRC_CACHE | ||||
| 	select VBOOT_EARLY_EC_SYNC | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config DEVICETREE | ||||
| 	default "variants/baseboard/devicetree.cb" | ||||
|  | ||||
|   | ||||
| @@ -41,9 +41,6 @@ config MAINBOARD_VERSION | ||||
| 	string | ||||
| 	default "2.0" if BOARD_MSI_Z690_A_PRO_WIFI_DDR5 | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config UART_FOR_CONSOLE | ||||
| 	int | ||||
| 	default 0 | ||||
|   | ||||
| @@ -34,9 +34,6 @@ config MAINBOARD_VENDOR | ||||
| config MAINBOARD_FAMILY | ||||
| 	default "Default string" | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config UART_FOR_CONSOLE | ||||
| 	default 0 | ||||
|  | ||||
|   | ||||
| @@ -47,9 +47,6 @@ config MAINBOARD_SMBIOS_MANUFACTURER | ||||
| 	string | ||||
| 	default "Prodrive Technologies B.V." | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config UART_FOR_CONSOLE | ||||
| 	int | ||||
| 	default 0 | ||||
|   | ||||
| @@ -103,9 +103,6 @@ config CONSOLE_POST | ||||
| config D3COLD_SUPPORT | ||||
| 	default n | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config FMDFILE | ||||
| 	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" | ||||
|  | ||||
|   | ||||
| @@ -125,9 +125,6 @@ config CONSOLE_POST | ||||
| config D3COLD_SUPPORT | ||||
| 	default n | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config FMDFILE | ||||
| 	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd" | ||||
|  | ||||
|   | ||||
| @@ -146,6 +146,9 @@ config SOC_INTEL_RAPTORLAKE_PCH_S | ||||
|  | ||||
| if SOC_INTEL_ALDERLAKE | ||||
|  | ||||
| config DIMM_SPD_SIZE | ||||
| 	default 512 | ||||
|  | ||||
| config SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT | ||||
| 	bool | ||||
| 	default n if SOC_INTEL_ALDERLAKE_PCH_S | ||||
|   | ||||
		Reference in New Issue
	
	Block a user