]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR...
authorAswath Govindraju <a-govindraju@ti.com>
Tue, 25 Jan 2022 15:26:30 +0000 (20:56 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 14:41:26 +0000 (09:41 -0500)
commita48fc5cc6f380c048b1edeea548b81dd13ca7320
tree8fee533a8705eac6f6f175a840ccbdb34a87b619
parent1a99bec018f5aec6aee77d36e222423e99bbd6a3
ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR subsystems

In Multi DDR subystems with interleaving support, the following needs to
configured,

- interleaving granular size and region
- EMIFs to be enabled
- EMIFs with ecc to be enabled
- EMIF separated or interleaved
- number of cycles of unsuccessful EMIF arbitration to wait before
  arbitrating for a different EMIF port, by default set to 3

Add support for configuring all the above by using a MSMC device

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
drivers/ram/k3-ddrss/k3-ddrss.c