diff options
| author | David Lechner <[email protected]> | 2026-03-19 15:00:20 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-06 18:39:11 -0500 |
| commit | c11370994d5225bf7a63c14041d1c9274bdc2615 (patch) | |
| tree | 26b2b42cfb6d8793253d36f2189b2d8e3292bb40 /scripts/cleanpatch | |
| parent | bfb5ccfccec7d04d45a56e2409308dd22a0efb4c (diff) | |
arm: mediatek: mt8518: remove call to fdtdec_setup_memory_banksize()
Remove an incorrect call to fdtdec_setup_memory_banksize() in
dram_init() for mt8518.
fdtdec_setup_memory_banksize() populates gd->bd->bi_dram[bank].start
and gd->bd->bi_dram[bank].size base on the "memory" node in the device
tree. However, calling it from dram_init() is too early because gd->bd
has not been allocated yet.
gd->bd->bi_dram[0].start and gd->bd->bi_dram[0].size are already
correctly initialized later in dram_init_banksize(), so we do not need
to replace the removed function call with anything else.
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 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
