diff options
| author | Pranav Tilak <[email protected]> | 2026-08-20 09:04:16 +0530 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-09-04 12:44:20 +0200 |
| commit | 04eafbe02d076b7091a9c21ba5cd939831c8d9a4 (patch) | |
| tree | e96f917246fcbb966edb6f526ef260d5b359e7d6 /contrib/apps/httpserver | |
| parent | 2d40451b75759c9818012e6126cbb6ee790e8604 (diff) | |
arm64: versal2: Initialize num_banks variable in dram_init()
In dram_init() num_banks is incremented for every detected DRAM bank
and passed to mem_map_fill() without being initialized, which can add
invalid entries to versal2_mem_map[], so initialize it to zero.
Fixes: 3aebac5a759b ("arm64: versal2: Populate DRAM banks before page table size calculation")
Signed-off-by: Pranav Tilak <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions
