]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx8mp: verdin-imx8mp: Add memory size detection
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Wed, 7 Sep 2022 09:51:05 +0000 (11:51 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Oct 2022 15:35:51 +0000 (17:35 +0200)
commit03f418c6e60c553f94a6a1a596f8300db7f5eef5
tree66d6aa21c9fa05150015e24d9a8f8a48c4ea15f9
parent691a39790fd7b6af7abf17e9b798c9ee1727099e
ARM: imx8mp: verdin-imx8mp: Add memory size detection

Add RAM auto-sizing, without this change memory size for all SKU is set
to 8GB and the system will crash on SKU with less memory as soon as the
non existent memory addresses are accessed.

Fixes: 0461c5f01362 ("board: toradex: add verdin imx8m plus support")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/verdin-imx8mp/verdin-imx8mp.c