]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rockchip: Compute ddr capacity based on grf split
authorJagan Teki <jagan@edgeble.ai>
Wed, 14 Dec 2022 17:50:49 +0000 (23:20 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 16 Jan 2023 10:01:10 +0000 (18:01 +0800)
commit29c31489743a92d8be9446afa778dde0ba702111
tree04bb4336cbfb891b4b426d955caf6ac8afe078b0
parent26f92be07e2a0e380a67c88a53911a10422d9855
ram: rockchip: Compute ddr capacity based on grf split

DDR chip capacity is computed based on GRF split in some
Rockchip SoC's like PX30 and RV1126.

Add split argument in ddr print info so-that the respective
ddr driver will pass the grf split.

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_common.h
drivers/ram/rockchip/sdram_common.c
drivers/ram/rockchip/sdram_px30.c
drivers/ram/rockchip/sdram_rk3328.c
drivers/ram/rockchip/sdram_rk3399.c