mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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
This commit is contained in:
@@ -1295,6 +1295,14 @@ config SPL_LMB_ARCH_MEM_MAP
|
||||
memory map. Enable this config in such scenarios which allow
|
||||
architectures and boards to define their own memory map.
|
||||
|
||||
config LMB_LIMIT_DMA_BELOW_4G
|
||||
bool
|
||||
depends on LMB
|
||||
default y if ARCH_BCM283X
|
||||
help
|
||||
Some architectures can not DMA above 4 GiB boundary,
|
||||
limit available memory to memory below 4 GiB boundary.
|
||||
|
||||
config PHANDLE_CHECK_SEQ
|
||||
bool "Enable phandle check while getting sequence number"
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user