diff options
| author | David Lechner <[email protected]> | 2026-03-19 15:00:17 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-06 18:39:11 -0500 |
| commit | b9e6281632a8e676efcdeba8764a8248323b0cfa (patch) | |
| tree | 252a9f8e45fb2523a5aa114a3be670cb56d72c10 /arch | |
| parent | c83f9aa56dbebe71b2ecc4e5dec1b8a428817369 (diff) | |
arm: mediatek: mt8512: drop dram_init_banksize()
Drop override of dram_init_banksize() weak function for mt8512. This is
exactly 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]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-mediatek/mt8512/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-mediatek/mt8512/init.c b/arch/arm/mach-mediatek/mt8512/init.c index 361c589cbc2..bc1d515fcca 100644 --- a/arch/arm/mach-mediatek/mt8512/init.c +++ b/arch/arm/mach-mediatek/mt8512/init.c @@ -35,14 +35,6 @@ phys_size_t get_effective_memsize(void) return gd->ram_size - 6 * SZ_1M; } -int dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = gd->ram_base; - gd->bd->bi_dram[0].size = get_effective_memsize(); - - return 0; -} - void reset_cpu(void) { struct udevice *watchdog_dev = NULL; |
