<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/mach-mediatek, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/arm/mach-mediatek?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/mach-mediatek?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-07-07T00:26:12Z</updated>
<entry>
<title>Merge branch 'next'</title>
<updated>2026-07-07T00:26:12Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-07-07T00:26:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ee5d46b45ec0c63f8f9dd1e816e0dac3452ccc3d'/>
<id>urn:sha1:ee5d46b45ec0c63f8f9dd1e816e0dac3452ccc3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Kconfig: arm: restyle</title>
<updated>2026-06-25T20:06:18Z</updated>
<author>
<name>Johan Jonker</name>
<email>jbx6244@gmail.com</email>
</author>
<published>2026-06-09T01:26:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0caac78a06f21cbe25460bf8c0dbe8094f73cb73'/>
<id>urn:sha1:0caac78a06f21cbe25460bf8c0dbe8094f73cb73</id>
<content type='text'>
Restyle all Kconfigs for "arm":
Menu entries   : no space left
Menu attributes: 1 TAB
Help text      : 1 TAB + 2 spaces
Replace '---help---' by 'help'

Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt8512: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4fa246a1565aa63375de06b732c6d1eb1f82d27'/>
<id>urn:sha1:b4fa246a1565aa63375de06b732c6d1eb1f82d27</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
limit gd-&gt;ram_top.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

Prior to commit b9e6281632a8 ("arm: mediatek: mt8512:
drop dram_init_banksize()"), gd-&gt;bd-&gt;bi_dram[0].size was overridden in
a board-specific dram_init_banksize() implementation.

We can just use board_get_usable_ram_top() now to set gd-&gt;ram_top to the
correct value instead. Overriding gd-&gt;bd-&gt;bi_dram[0].size was a bit
confusing since it isn't easily apparent which order the functions that
set it are called.

Fixes: b9e6281632a8 ("arm: mediatek: mt8512: drop dram_init_banksize()")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-8-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt8195: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ec457f7cfde59a2122297a7a217c88f02acc63a5'/>
<id>urn:sha1:ec457f7cfde59a2122297a7a217c88f02acc63a5</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
set gd-&gt;ram_top to something &lt;= 4GiB.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

Prior to commit d83bd9729d75 ("arm: mediatek: mt8195:
drop dram_init_banksize()"), gd-&gt;bd-&gt;bi_dram[0].size was overridden in
a board-specific dram_init_banksize() implementation. When that was
removed get_effective_memsize() set gd-&gt;bd-&gt;bi_dram[0].size to the wrong
value because of get_effective_memsize() being overridden in commit
af4cba9a05aa ("arm: mediatek: mt8195: fix gd-&gt;ram_top limit")

We can just use board_get_usable_ram_top() now to set gd-&gt;ram_top to the
correct value instead. This is possible now, thanks to
LMB_LIMIT_DMA_BELOW_RAM_TOP being set by default for 64-bit Mediatek
ARM SoCs.

Fixes: d83bd9729d75 ("arm: mediatek: mt8195: drop dram_init_banksize()")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-7-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt8189: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=58c7145d687a6442c077b0ed0a8c57012de347af'/>
<id>urn:sha1:58c7145d687a6442c077b0ed0a8c57012de347af</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
set gd-&gt;ram_top to something &lt;= 4GiB.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

We can just use board_get_usable_ram_top() now to set gd-&gt;ram_top to the
correct value instead. This is possible now, thanks to
LMB_LIMIT_DMA_BELOW_RAM_TOP being set by default for 64-bit Mediatek
ARM SoCs.

Fixes: a7c682565b4b ("arm: mediatek: add support of MT8189 SoC family")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-6-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt8188: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f274732f7960319ea0337e34210d440753ff11e'/>
<id>urn:sha1:6f274732f7960319ea0337e34210d440753ff11e</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
set gd-&gt;ram_top to something &lt;= 4GiB.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

Prior to commit b3467e51e92b ("arm: mediatek: mt8188:
drop dram_init_banksize()"), gd-&gt;bd-&gt;bi_dram[0].size was overridden in
a board-specific dram_init_banksize() implementation. When that was
removed get_effective_memsize() set gd-&gt;bd-&gt;bi_dram[0].size to the wrong
value because of get_effective_memsize() being overridden in commit
7518e10cd235 ("arm: mediatek: mt8188: fix gd-&gt;ram_top limit").

We can just use board_get_usable_ram_top() now to set gd-&gt;ram_top to the
correct value instead. This is possible now, thanks to
LMB_LIMIT_DMA_BELOW_RAM_TOP being set by default for 64-bit Mediatek
ARM SoCs.

Fixes: b3467e51e92b ("arm: mediatek: mt8188: drop dram_init_banksize()")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-5-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt7988: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3b7adad0b5223422d9993e08faa9c879c023742d'/>
<id>urn:sha1:3b7adad0b5223422d9993e08faa9c879c023742d</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
set gd-&gt;ram_top to something &lt;= 4GiB.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

Prior to commit bddd6bbef3dc ("arm: mediatek: mt7988:
drop dram_init_banksize()"), gd-&gt;bd-&gt;bi_dram[0].size was overridden in
a board-specific dram_init_banksize() implementation. When that was
removed get_effective_memsize() set gd-&gt;bd-&gt;bi_dram[0].size to the wrong
value because of CFG_MAX_MEM_MAPPED.

Rather than continue to use an old-style CFG_ option and the potentially
confusing overriding of gd-&gt;bd-&gt;bi_dram[0].size (it is difficult to see
which order the functions that set it are called), we can just use
board_get_usable_ram_top() to set gd-&gt;ram_top to the correct value
instead. This is possible now, thanks to LMB_LIMIT_DMA_BELOW_RAM_TOP
being set by default for 64-bit Mediatek ARM SoCs.

The CFG_MAX_MEM_MAPPED option is removed since it is no longer needed.
The config header and Kconfig option are also removed since that was
the last CFG_ option.

Reported-by: Rudy Andram &lt;rmandrad@gmail.com&gt;
Closes: https://lore.kernel.org/u-boot/20260602162233.2418471-1-rmandrad@gmail.com/
Fixes: bddd6bbef3dc ("arm: mediatek: mt7988: drop dram_init_banksize()")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-4-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt7987: fix gd-&gt;bd-&gt;bi_dram[0].size</title>
<updated>2026-06-24T15:06:16Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-06-15T19:23:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c074950b489957931296bc1efdb5e19f6f64e9a5'/>
<id>urn:sha1:c074950b489957931296bc1efdb5e19f6f64e9a5</id>
<content type='text'>
Use board_get_usable_ram_top() instead of get_effective_memsize() to
set gd-&gt;ram_top to something &lt;= 4GiB.

Both board_get_usable_ram_top() and get_effective_memsize() are used to
set gd-&gt;ram_top in setup_dest_addr(). However, get_effective_memsize()
also sets gd-&gt;bd-&gt;bi_dram[0].size in dram_init_banksize(), which is
undesirable.

Prior to commit 56183fb025c2 ("arm: mediatek: mt7987: drop
dram_init_banksize()"), gd-&gt;bd-&gt;bi_dram[0].size was overridden in
a board-specific dram_init_banksize() implementation. When that was
removed get_effective_memsize() set gd-&gt;bd-&gt;bi_dram[0].size to the wrong
value because of CFG_MAX_MEM_MAPPED.

Rather than continue to use an old-style CFG_ option and the potentially
confusing overriding of gd-&gt;bd-&gt;bi_dram[0].size (it is difficult to see
which order the functions that set it are called), we can just use
board_get_usable_ram_top() to set gd-&gt;ram_top to the correct value
instead. This is possible now, thanks to LMB_LIMIT_DMA_BELOW_RAM_TOP
being set by default for 64-bit Mediatek ARM SoCs.

On mt7987, there is already an implementation of
board_get_usable_ram_top() for other reasons, so it is modified to
also limit ram_top to 4GiB (mt7987 is currently the only thing that
sets CONFIG_MTK_TZ_MOVABLE=y so it is safe to change this here without
unintentional side-effects).

The CFG_MAX_MEM_MAPPED option is removed since it is no longer needed.
The config header and Kconfig option are also removed since that was
the last CFG_ option.

Fixes: 56183fb025c2 ("arm: mediatek: mt7987: drop dram_init_banksize()")
Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-3-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>configs: mt7622: remove empty header file</title>
<updated>2026-04-29T14:02:16Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2026-04-28T03:36:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3c14cd8388dad4c93c24fac53a7b6d21bc81765c'/>
<id>urn:sha1:3c14cd8388dad4c93c24fac53a7b6d21bc81765c</id>
<content type='text'>
Remove the empty include/configs/mt7622.h header file as it is not needed.
The Kconfig entry that referenced it is also removed.

Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
Link: https://patch.msgid.link/20260428033625.109032-1-weijie.gao@mediatek.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>arm: mediatek: mt8189: print specific CPU information</title>
<updated>2026-04-07T18:14:29Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-03-30T20:23:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c344faa37d287ff761813b519f8e1412b6153b76'/>
<id>urn:sha1:c344faa37d287ff761813b519f8e1412b6153b76</id>
<content type='text'>
Modify the print_cpuinfo() function to print a more specific CPU name
when possible.

Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Link: https://patch.msgid.link/20260330-mtk-mt8189-cpu-type-v1-2-4059c3b52761@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
</feed>
