arm64: versal2: Update the number of DRAM banks to 36
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 10 Apr 2025 09:25:28 +0000 (14:55 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 16 Apr 2025 11:44:44 +0000 (13:44 +0200)
commitb09a6110167830c6a2c16863949f9a7a7d30d241
treefd89693b27c1841f4494a6f80d1e3df7ffc1fac0
parentb735c6c5f66acbaf67a4ff2903c660cced410ec3
arm64: versal2: Update the number of DRAM banks to 36

HBM stands for high bandwidth memory and is a type of memory interface used
in 3D-stacked DRAM (dynamic random access memory) in some AMD GPUs (aka
graphics cards), as well as the server, high-performance computing (HPC)
and networking and client space. High Bandwidth Memory(HBM) has total 16
channels, one channel is divided into two pseudo channels which makes its
32 banks each with some amount of memory.
And then we have DDR_LOW PS low, DDR_HIGH0 PS high, DDR_HIGH1 PS very high
and pretty much there should be also place for PL DDR. So maximum number of
memory banks will be 36, updating the CONFIG_NR_DRAM_BANKS to 36.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250410092528.3713904-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/amd_versal2_virt_defconfig