mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 01:17:01 +02:00
Corrects mapping of HNFs nodes with SNFs nodes based on their proximity in CCN508 ring when disabling unused ddr controller. When DDRC 2 disabled and DDR 1 is active the mapping is 0x3/3/8/8/8/8/3/3. When DDRC 1 is disabled and DDR2 is active the mapping is 0x 18/18/13/13/13/13/18/18 . Signed-off-by: Maninder Singh <maninder.singh_1@nxp.com> Signed-off-by: JaiPrakash Singh <JaiPrakash.singh@nxp.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I6ec1e02f8ad7e8bb8628913625ff5313a054dcc6 |
||
---|---|---|
.. | ||
ddr.c | ||
ddr.mk | ||
ddrc.c | ||
dimm.c | ||
README.odt | ||
regs.c | ||
utility.c |
Table for dynamic ODT for DDR4 with PHY generation 2 ==================================================== Two-slot system Only symmetric configurations are supported for interleaving. Non-symmetric configurations are possible but not covered here. First slot empty is possbile but prohibited for simplicity. +-----------------------+-------------+---------------+-----------------------------+-----------------------------+ | Configuration | |DRAM controller| Slot 1 | Slot 2 | +-----------+-----------+-------------+-------+-------+--------------+--------------+--------------+--------------+ | | | | | | Rank 1 | Rank 2 | Rank 1 | Rank 2 | | Slot 1 | Slot 2 | Write/Read | Write | Read |-------+------+-------+------+-------+------+-------+------+ | | | | | | Write | Read | Write | Read | Write | Read | Write | Read | +-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | |Rank 1| off | 60 | 240 | off | 60 | 240 | 60 | 60 | 60 | 60 | | | |Slot 1|------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | |Rank 2| off | 60 | 60 | 240 | 240 | off | 60 | 60 | 60 | 60 | | Dual Rank | Dual Rank |------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | |Rank 1| off | 60 | 60 | 60 | 60 | 60 | 240 | off | 60 | 240 | | | |Slot 2|------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | |Rank 2| off | 60 | 60 | 60 | 60 | 60 | 60 | 240 | 240 | off | +-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | Slot 1 | off | 60 | 80 | off | | | | | | | |Single Rank|Single Rank|-------------+-------+-------+-------+------+-------+------+-------+------+-------+------+ | | | Slot 2 | off | 60 | | | | | 80 | off | +-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+ | | | |Rank 1| off | 80 | 80 | off | off | off | | Dual Rank | |Slot 1|------+-------+-------+-------+------+-------+------+ | | | |Rank 2| off | 80 | 80 | off | off | off | +-----------+-----------+-------------+-------+-------+-------+------+-------+------+ |Single Rank| | Slot 1 | off | 80 | 80 | off | +-----------+-----------+-------------+-------+-------+-------+------+