diff options
author | York Sun <yorksun@freescale.com> | 2015-03-19 09:30:27 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 08:55:53 -0700 |
commit | 6b95be228024c7d15b9164b59187ef02333bb0c8 (patch) | |
tree | 49df5d8e2ae4d0163319a538aedbeab022c1d869 /drivers/ddr/fsl/ddr4_dimm_params.c | |
parent | 66869f955417b89dbf6b7cbb72738b2205a26bf8 (diff) | |
download | u-boot-imx-6b95be228024c7d15b9164b59187ef02333bb0c8.zip u-boot-imx-6b95be228024c7d15b9164b59187ef02333bb0c8.tar.gz u-boot-imx-6b95be228024c7d15b9164b59187ef02333bb0c8.tar.bz2 |
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>
Diffstat (limited to 'drivers/ddr/fsl/ddr4_dimm_params.c')
-rw-r--r-- | drivers/ddr/fsl/ddr4_dimm_params.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/ddr4_dimm_params.c b/drivers/ddr/fsl/ddr4_dimm_params.c index bbfb4ee..42834ca 100644 --- a/drivers/ddr/fsl/ddr4_dimm_params.c +++ b/drivers/ddr/fsl/ddr4_dimm_params.c @@ -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 { |