]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rockchip: rk3399: Add cap_info structure
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:21:05 +0000 (23:51 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
commit355490dc5c03f42033efd55940d3a6192b70656d
treea2101bd9495a44f66607f52db29805f0411c29a5
parent9c4d517db8d15e56fe2316c0763bdc8009cac872
ram: rockchip: rk3399: Add cap_info structure

Group common ddr attributes like
- rank
- col
- bk
- bw
- dbw
- row_3_4
- cs0_row
- cs1_row
- ddrconfig

into a common cap_info structure for more code readability and extend
if possible based on the new features.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
drivers/ram/rockchip/sdram_rk3399.c