]> git.ipfire.org Git - thirdparty/u-boot.git/commit
lmb: Optionally limit available memory to 4 GiB on limited systems
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 3 Jun 2026 14:17:55 +0000 (16:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jun 2026 14:26:41 +0000 (08:26 -0600)
commitaf4aad1f0a0beba82d2015d79b450b59bf34d2bc
tree07504357be5476d8d334c80476cf144cc9c3598d
parent4065ee552b8e975e73b90c5b57f00af6ca0c5d65
lmb: Optionally limit available memory to 4 GiB on limited systems

Some architectures can not DMA above 4 GiB boundary,
limit available memory to memory below 4 GiB boundary.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> #rpi4 8GiB
lib/Kconfig
lib/lmb.c