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 | config VBOOT | ||||||
| 	select VBOOT_LID_SWITCH | 	select VBOOT_LID_SWITCH | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config UART_FOR_CONSOLE | config UART_FOR_CONSOLE | ||||||
| 	int | 	int | ||||||
| 	default 0 | 	default 0 | ||||||
|   | |||||||
| @@ -817,9 +817,6 @@ config VBOOT | |||||||
| 	select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA | 	select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA | ||||||
| 	select VBOOT_LID_SWITCH | 	select VBOOT_LID_SWITCH | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config UART_FOR_CONSOLE | config UART_FOR_CONSOLE | ||||||
| 	int | 	int | ||||||
| 	default 0 | 	default 0 | ||||||
|   | |||||||
| @@ -135,9 +135,6 @@ config DEVICETREE | |||||||
| config OVERRIDE_DEVICETREE | config OVERRIDE_DEVICETREE | ||||||
| 	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" | 	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| choice | choice | ||||||
| 	prompt "ON BOARD EC" | 	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 | 	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 HAS_RECOVERY_MRC_CACHE | ||||||
| 	select VBOOT_EARLY_EC_SYNC | 	select VBOOT_EARLY_EC_SYNC | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config DEVICETREE | config DEVICETREE | ||||||
| 	default "variants/baseboard/devicetree.cb" | 	default "variants/baseboard/devicetree.cb" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -41,9 +41,6 @@ config MAINBOARD_VERSION | |||||||
| 	string | 	string | ||||||
| 	default "2.0" if BOARD_MSI_Z690_A_PRO_WIFI_DDR5 | 	default "2.0" if BOARD_MSI_Z690_A_PRO_WIFI_DDR5 | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config UART_FOR_CONSOLE | config UART_FOR_CONSOLE | ||||||
| 	int | 	int | ||||||
| 	default 0 | 	default 0 | ||||||
|   | |||||||
| @@ -34,9 +34,6 @@ config MAINBOARD_VENDOR | |||||||
| config MAINBOARD_FAMILY | config MAINBOARD_FAMILY | ||||||
| 	default "Default string" | 	default "Default string" | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config UART_FOR_CONSOLE | config UART_FOR_CONSOLE | ||||||
| 	default 0 | 	default 0 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -47,9 +47,6 @@ config MAINBOARD_SMBIOS_MANUFACTURER | |||||||
| 	string | 	string | ||||||
| 	default "Prodrive Technologies B.V." | 	default "Prodrive Technologies B.V." | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config UART_FOR_CONSOLE | config UART_FOR_CONSOLE | ||||||
| 	int | 	int | ||||||
| 	default 0 | 	default 0 | ||||||
|   | |||||||
| @@ -103,9 +103,6 @@ config CONSOLE_POST | |||||||
| config D3COLD_SUPPORT | config D3COLD_SUPPORT | ||||||
| 	default n | 	default n | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config FMDFILE | config FMDFILE | ||||||
| 	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" | 	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -125,9 +125,6 @@ config CONSOLE_POST | |||||||
| config D3COLD_SUPPORT | config D3COLD_SUPPORT | ||||||
| 	default n | 	default n | ||||||
|  |  | ||||||
| config DIMM_SPD_SIZE |  | ||||||
| 	default 512 |  | ||||||
|  |  | ||||||
| config FMDFILE | config FMDFILE | ||||||
| 	default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd" | 	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 | if SOC_INTEL_ALDERLAKE | ||||||
|  |  | ||||||
|  | config DIMM_SPD_SIZE | ||||||
|  | 	default 512 | ||||||
|  |  | ||||||
| config SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT | config SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT | ||||||
| 	bool | 	bool | ||||||
| 	default n if SOC_INTEL_ALDERLAKE_PCH_S | 	default n if SOC_INTEL_ALDERLAKE_PCH_S | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user