]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mediatek: retrieve ram_base from dts node for armv8 platform
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 19 Jul 2023 09:15:41 +0000 (17:15 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:48 +0000 (09:40 -0400)
commit5fd6d4c7b3adc140f2969ed3965fd5c3e8f2d368
tree67512e33c09ea7a663bd8631ce40e3242dc9a5c4
parent35e6c89b76fcdad101e0a706e4706ac11cb8642d
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>
15 files changed:
arch/arm/dts/mt7981-emmc-rfb.dts
arch/arm/dts/mt7981-rfb.dts
arch/arm/dts/mt7981-sd-rfb.dts
arch/arm/dts/mt7986a-bpi-r3-sd.dts
arch/arm/dts/mt7986a-rfb.dts
arch/arm/dts/mt7986a-sd-rfb.dts
arch/arm/dts/mt7986b-rfb.dts
arch/arm/dts/mt7986b-sd-rfb.dts
arch/arm/mach-mediatek/mt7622/init.c
arch/arm/mach-mediatek/mt7981/init.c
arch/arm/mach-mediatek/mt7986/init.c
board/mediatek/mt7622/mt7622_rfb.c
include/configs/mt7622.h
include/configs/mt7981.h
include/configs/mt7986.h