On Tue, Jun 2, 2026 at 6:24 PM Rudy Andram <[email protected]> wrote:
>
> MT7988 detects the full installed DRAM in dram_init(), but after
> commit bddd6bbef3dc ("arm: mediatek: mt7988: drop dram_init_banksize()")
> it fell back to the generic dram_init_banksize() implementation.
>
> That generic path populates bd->bi_dram[0].size with
> get_effective_memsize(), which is capped by CFG_MAX_MEM_MAPPED. On
> MT7988 this limits the exported DRAM bank to 3 GiB even when 8 GiB is
> installed.

Can we just remove the #define CFG_MAX_MEM_MAPPED (and the header file
that contains it)? Or is it used somewhere else?

Reply via email to