diff options
author | Ed Swarthout <Ed.Swarthout@nxp.com> | 2016-01-14 18:28:04 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-01-25 16:24:16 (GMT) |
commit | 81dfdee0dc6c6ca6bdf0c75e0903afefc950d512 (patch) | |
tree | a882b0a044bff1ec7bccafa4a0f9cd7adb58f470 | |
parent | c238ad0a33469c02c6e6ef3cbcf335d959e04650 (diff) | |
download | u-boot-fsl-qoriq-81dfdee0dc6c6ca6bdf0c75e0903afefc950d512.tar.xz |
drivers/ddr/fsl: fsl_ddr_sdram_size remove unused controllers
Following commit 61bd2f75, exclude unused DDR controller from
calculating RAM size for SPL boot.
Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r-- | drivers/ddr/fsl/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c index 139a3a7..479184f 100644 --- a/drivers/ddr/fsl/main.c +++ b/drivers/ddr/fsl/main.c @@ -857,6 +857,7 @@ fsl_ddr_sdram_size(void) info.num_ctrls = CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS; info.dimm_slots_per_ctrl = CONFIG_DIMM_SLOTS_PER_CTLR; info.board_need_mem_reset = NULL; + remove_unused_controllers(&info); /* Compute it once normally. */ total_memory = fsl_ddr_compute(&info, STEP_GET_SPD, 1); |