mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
d46ec0bbaf
commit
c0c32af0b2
8 changed files with 89 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue