]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mediatek: fix ram init for mt7622 (decrease to 1G)
authorFrank Wunderlich <frank-w@public-files.de>
Sat, 15 Jun 2024 09:34:56 +0000 (11:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Jun 2024 16:52:39 +0000 (10:52 -0600)
commitefee71ab4d51e4ee68960a93b0c23682be040bd9
tree7f646ea06cdb645b3dbd49fe7b5a59ddcc32e565
parentc38af2ccfd296b7f277b951759b30b879ed2a199
arm: mediatek: fix ram init for mt7622 (decrease to 1G)

RAM init on mt7622 based bananapi R64 is broken since v2023.10.

Increasing the mem-map does not help here, so i reduced the maximum
available ram in get_ram_size call from 2G to 1G (board has only 1G).

Fixes: 5fd6d4c7b3ad ("arm: mediatek: retrieve ram_base from dts node for armv8 platform")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
arch/arm/mach-mediatek/mt7622/init.c