diff options
author | Jim Liu <jim.t90615@gmail.com> | 2024-04-23 15:22:10 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-03 12:22:59 -0600 |
commit | b3c0b94f2e3872959ba29c450059221bb3697588 (patch) | |
tree | 267e1b390625eed1da784a832fd547aa1cfe7a22 /drivers/fpga/fpga.c | |
parent | e7c3948ec51d6dd2d31525c8207b5e8ccceb496a (diff) |
board: arbel: Limit the dram effective size to bank0 maximal size
For 4GB dram size, the dram is divided into 2 banks and
the address space of these 2 banks are not concatenated.
Limit the gd->ram_top to not exceed bank0 top to prevent
accessing invalid memory region.
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions