[PATCH v2 0/8] arm: mediatek: fix gd->bd->bi_dram[0].size
David Lechner
dlechner at baylibre.com
Wed Jun 24 17:28:16 CEST 2026
On Mon, 15 Jun 2026 14:23:30 -0500, David Lechner wrote:
> arm: mediatek: fix gd->bd->bi_dram[0].size
>
> During some recent cleanups we made some changes that had an unintended
> consequence of changing the value of gd->bd->bi_dram[0].size on some
> boards.
>
> 64-bit Mediatek ARM SoCs have some peripherals that require DMA memory
> to be allocated below the 4GB boundary. We were using
> get_effective_memsize() to work around this. However, this also sets
> gd->bd->bi_dram[0].size to the value of get_effective_memsize(). This
> variable can be used for other things, so needs to be set to the actual
> size of the DRAM.
>
> [...]
Applied to mediatek-for-master, thanks!
[1/8] mmc: mtk-sd: select LMB_LIMIT_DMA_BELOW_RAM_TOP
commit: ae73cc6df7246b80ebc3c602da952e13fa72f2f7
[2/8] net: mtk_eth: select LMB_LIMIT_DMA_BELOW_RAM_TOP
commit: 2d9a9f1cad906bbc13e8c131ed6932d0da4e28ee
[3/8] arm: mediatek: mt7987: fix gd->bd->bi_dram[0].size
commit: c074950b489957931296bc1efdb5e19f6f64e9a5
[4/8] arm: mediatek: mt7988: fix gd->bd->bi_dram[0].size
commit: 3b7adad0b5223422d9993e08faa9c879c023742d
[5/8] arm: mediatek: mt8188: fix gd->bd->bi_dram[0].size
commit: 6f274732f7960319ea0337e34210d440753ff11e
[6/8] arm: mediatek: mt8189: fix gd->bd->bi_dram[0].size
commit: 58c7145d687a6442c077b0ed0a8c57012de347af
[7/8] arm: mediatek: mt8195: fix gd->bd->bi_dram[0].size
commit: ec457f7cfde59a2122297a7a217c88f02acc63a5
[8/8] arm: mediatek: mt8512: fix gd->bd->bi_dram[0].size
commit: b4fa246a1565aa63375de06b732c6d1eb1f82d27
Best regards,
--
David Lechner <dlechner at baylibre.com>
More information about the U-Boot
mailing list