summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-03-19 15:00:05 -0500
committerDavid Lechner <[email protected]>2026-04-06 18:39:10 -0500
commitbddd6bbef3dce2558182f7e53d9be34a946441e8 (patch)
treede7e14178594b9784c37479a73787983f42df8dc /arch
parent56183fb025c2d63e858662bd226499faabcd8f5a (diff)
arm: mediatek: mt7988: drop dram_init_banksize()
Drop override of dram_init_banksize() weak function for mt7988. 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]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mediatek/mt7988/init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-mediatek/mt7988/init.c b/arch/arm/mach-mediatek/mt7988/init.c
index 7ff843585ec..7f4d934bfe9 100644
--- a/arch/arm/mach-mediatek/mt7988/init.c
+++ b/arch/arm/mach-mediatek/mt7988/init.c
@@ -26,14 +26,6 @@ int dram_init(void)
return 0;
}
-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(ulong addr)
{
psci_system_reset();