Manish Pandey 601e2d4325 Merge changes from topic "bk/warnings" into integration
* changes:
  docs: describe the new warning levels
  build: add -Wunused-const-variable=2 to W=2
  build: include -Wextra in generic builds
  docs(porting-guide): update a reference
  fix(st-usb): replace redundant checks with asserts
  fix(brcm): add braces around bodies of conditionals
  fix(renesas): align incompatible function pointers
  fix(zynqmp): remove redundant api_version check
  fix: remove old-style declarations
  fix: unify fallthrough annotations
2023-01-10 11:56:42 +01:00
..
2022-12-01 16:17:34 +00:00
2022-03-27 23:24:24 +08:00

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  |
+-----------+-----------+-------------+-------+-------+-------+------+