]> git.ipfire.org Git - thirdparty/u-boot.git/commit
rockchip: sdram: Add rockchip_sdram_type() helper
authorJonas Karlman <jonas@kwiboo.se>
Fri, 1 Aug 2025 17:09:27 +0000 (17:09 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 13 Dec 2025 16:02:10 +0000 (00:02 +0800)
commit57dc75fb9be8f2508cb8c32dc5909c5b57876ace
treece00f46124b92422446581cf408807b53f32ddd7
parente22335a221f88e7f61171e752ca195663f86d81f
rockchip: sdram: Add rockchip_sdram_type() helper

Add a helper function based on rockchip_sdram_size() that return what
DRAM type is used on current running board.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram.h
arch/arm/mach-rockchip/sdram.c