diff options
author | York Sun <york.sun@nxp.com> | 2018-01-29 09:44:35 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-01-30 09:14:07 -0800 |
commit | c0c32af0b2f037e3e167c7ac82e7110ebae48fb5 (patch) | |
tree | 2415eb77be8efd66738c5a26779ed949f11d3c17 /drivers/ddr/fsl/options.c | |
parent | d46ec0bbaf1a38711b493266f49bb26ac9157d8a (diff) |
drivers/ddr/fsl: Add 3DS RDIMM support
On top of RDIMM support, add new register calculation to support
3DS RDIMMs. Only symmetrical 3DS is supported at this time.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/ddr/fsl/options.c')
-rw-r--r-- | drivers/ddr/fsl/options.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/options.c b/drivers/ddr/fsl/options.c index a7eaed1bd7..5158ea2089 100644 --- a/drivers/ddr/fsl/options.c +++ b/drivers/ddr/fsl/options.c @@ -1,5 +1,6 @@ /* - * Copyright 2008, 2010-2014 Freescale Semiconductor, Inc. + * Copyright 2008, 2010-2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP Semiconductor * * SPDX-License-Identifier: GPL-2.0+ */ @@ -1292,6 +1293,8 @@ done: if (pdimm[0].n_ranks == 4) popts->quad_rank_present = 1; + popts->package_3ds = pdimm->package_3ds; + ddr_freq = get_ddr_freq(ctrl_num) / 1000000; if (popts->registered_dimm_en) { popts->rcw_override = 1; |