diff options
| author | David Lechner <[email protected]> | 2026-03-19 15:00:19 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-06 18:39:11 -0500 |
| commit | bfb5ccfccec7d04d45a56e2409308dd22a0efb4c (patch) | |
| tree | dd8c5c0c8d5eb89a8e1523da7b88cb8c83003b20 | |
| parent | afa09789835f5b2c85eaf06b2bafe6df4a94f886 (diff) | |
arm: mediatek: mt8518: drop dram_init_banksize()
Drop override of dram_init_banksize() weak function for mt8518. This is
effectively the same as the default implementation, so we do not need
to override it.
Reviewed-by: Julien Stephan <[email protected]>
Tested-by: Julien Stephan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
| -rw-r--r-- | arch/arm/mach-mediatek/mt8518/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-mediatek/mt8518/init.c b/arch/arm/mach-mediatek/mt8518/init.c index 8fa1346021a..ca64f5d4767 100644 --- a/arch/arm/mach-mediatek/mt8518/init.c +++ b/arch/arm/mach-mediatek/mt8518/init.c @@ -33,14 +33,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; -} - void reset_cpu(void) { psci_system_reset(); |
