]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3288: sdram: use constants in ddrconf table
authorHeiko Stübner <heiko@sntech.de>
Sat, 18 Feb 2017 18:46:23 +0000 (19:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:44 +0000 (16:03 -0600)
commitbd7e6086c5a1e83975fa87f7958b52c5d23881fb
tree2f1e09f12b63d5ad8a45bb217eac646644f44d7e
parent6496498a626dbde4d0ed96406e4efee9ff2ab0c0
rockchip: rk3288: sdram: use constants in ddrconf table

Use defines to describe the bit shifts used to create the
table for ddrconf register values.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/ddr_rk3288.h
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c