]> git.ipfire.org Git - thirdparty/u-boot.git/commit
drivers: ddr: altera: iossm_mailbox: widen MEM_TOTAL_CAPACITY mask
authorNaresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>
Mon, 9 Feb 2026 02:07:09 +0000 (10:07 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 14 Feb 2026 17:06:46 +0000 (11:06 -0600)
commitcb23bbf4d7403dbfe1e4b4ef80bca6ae585a181e
treef0157136fd8dbc63f041ee123d6d2c2bd89b1984
parent22aac1c5b466da72095ccf3464660eae47579e2e
drivers: ddr: altera: iossm_mailbox: widen MEM_TOTAL_CAPACITY mask

The previous mask for MEM_TOTAL_CAPACITY_INTF was limited to 8 bits,
which could truncate DDR size values on larger-memory systems.

Update INTF_CAPACITY_GBITS_MASK to 32 bits to correctly represent
the full capacity field according to the hardware specification.

Signed-off-by: Naresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com> Best regards,
drivers/ddr/altera/iossm_mailbox.c