[PATCH 15/17] arm: mediatek: mt8516: drop dram_init_banksize()
David Lechner
dlechner at baylibre.com
Thu Mar 19 21:00:18 CET 2026
Drop override of dram_init_banksize() weak function for mt8516. This is
effectively the same as the default implementation, so we do not need
to override it.
Signed-off-by: David Lechner <dlechner at baylibre.com>
---
arch/arm/mach-mediatek/mt8516/init.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/mach-mediatek/mt8516/init.c b/arch/arm/mach-mediatek/mt8516/init.c
index 1d925dd478a..b470910da7f 100644
--- a/arch/arm/mach-mediatek/mt8516/init.c
+++ b/arch/arm/mach-mediatek/mt8516/init.c
@@ -32,14 +32,6 @@ int dram_init(void)
return fdtdec_setup_mem_size_base();
}
-int dram_init_banksize(void)
-{
- gd->bd->bi_dram[0].start = gd->ram_base;
- gd->bd->bi_dram[0].size = gd->ram_size;
-
- return 0;
-}
-
static int mtk_pll_early_init(void)
{
unsigned long pll_rates[] = {
--
2.43.0
More information about the U-Boot
mailing list