mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
driver/ddr/fsl: Fix driver to support empty first slot
CS0 was not allowed to be empty by u-boot driver in the past to simplify the driver. This may be inconvenient for some debugging. This patch lifts the restrictions. Controller interleaving still requires CS0 populated. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -135,7 +135,8 @@ unsigned int ddr_compute_dimm_parameters(const unsigned int ctrl_num,
|
||||
|
||||
if (spd->mem_type) {
|
||||
if (spd->mem_type != SPD_MEMTYPE_DDR4) {
|
||||
printf("DIMM %u: is not a DDR4 SPD.\n", dimm_number);
|
||||
printf("Ctrl %u DIMM %u: is not a DDR4 SPD.\n",
|
||||
ctrl_num, dimm_number);
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user