summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2023-07-19 17:15:41 +0800
committerTom Rini <trini@konsulko.com>2023-08-03 09:40:48 -0400
commit5fd6d4c7b3adc140f2969ed3965fd5c3e8f2d368 (patch)
tree67512e33c09ea7a663bd8631ce40e3242dc9a5c4 /board
parent35e6c89b76fcdad101e0a706e4706ac11cb8642d (diff)
downloadu-boot-5fd6d4c7b3adc140f2969ed3965fd5c3e8f2d368.tar.gz
u-boot-5fd6d4c7b3adc140f2969ed3965fd5c3e8f2d368.tar.bz2
u-boot-5fd6d4c7b3adc140f2969ed3965fd5c3e8f2d368.zip
arm: mediatek: retrieve ram_base from dts node for armv8 platform
Now we use fdtdec_setup_mem_size_base() to get DRAM base from fdt ram node and update gd->ram_base. CFG_SYS_SDRAM_BASE is unused and will be removed. Also, since mt7622 always passes fdt to linux kernel, there's no need to assign value to gd->bd->bi_boot_params. Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'board')
-rw-r--r--board/mediatek/mt7622/mt7622_rfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/mediatek/mt7622/mt7622_rfb.c b/board/mediatek/mt7622/mt7622_rfb.c
index ff233e920a..2cc73bc35d 100644
--- a/board/mediatek/mt7622/mt7622_rfb.c
+++ b/board/mediatek/mt7622/mt7622_rfb.c
@@ -14,7 +14,6 @@ DECLARE_GLOBAL_DATA_PTR;
int board_init(void)
{
- gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
return 0;
}