ram: rk3399: Add DdrMode
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:06 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commita735550bb8471a170247fad5376d0086b15ddedd
tree20b51261bcb82bccc4709b0eb58b64068a317a1c
parented77ce728aa2cd2c8b1c01ec3a0f2efb8f3edc26
ram: rk3399: Add DdrMode

Add DdrMode structure with associated bit fields.

These would help to reconfigure sdram capabilities during
lpddr4 setup related configs.

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