mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-23 20:49:56 +01:00
drivers/ddr/fsl: Disabling data init if ECC is not enabled
If ECC is not enabled, data init can be disabled to speed up booting. Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
931e8751af
commit
b06f6f2f03
1 changed files with 2 additions and 1 deletions
|
|
@ -886,7 +886,8 @@ unsigned int populate_memctl_options(const common_timing_params_t *common_dimm,
|
|||
} else
|
||||
popts->ecc_mode = 1;
|
||||
#endif
|
||||
popts->ecc_init_using_memctl = 1; /* 0 = use DMA, 1 = use memctl */
|
||||
/* 1 = use memory controler to init data */
|
||||
popts->ecc_init_using_memctl = popts->ecc_mode ? 1 : 0;
|
||||
|
||||
/*
|
||||
* Choose DQS config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue