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
+config LMB_LIMIT_DMA_BELOW_RAM_TOP
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.
+ Some architectures can not DMA above ram_top boundary,
+ which is after 4 GiB or 32-bit boundary too. Limit the
+ available memory to memory below ram_top boundary.
config PHANDLE_CHECK_SEQ
bool "Enable phandle check while getting sequence number"
if (size) {
lmb_add(bd->bi_dram[i].start, size);
- if (!IS_ENABLED(CONFIG_LMB_LIMIT_DMA_BELOW_4G))
+ if (!IS_ENABLED(CONFIG_LMB_LIMIT_DMA_BELOW_RAM_TOP))
continue;
bank_end = bd->bi_dram[i].start + size;