rockchip: Break out common dram code for rk3399
authorCaesar Wang <wxt@rock-chips.com>
Wed, 26 Oct 2016 17:12:34 +0000 (01:12 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Wed, 26 Oct 2016 17:50:57 +0000 (01:50 +0800)
commit613038bc208df78326cbb4eff372591ff622ce93
treeb2f8147df7c772048e8a849867914cce2f74e02d
parent9c68748eafa683e1356316276de2e82f4353ccee
rockchip: Break out common dram code for rk3399

This renames dram.c and dram.h to dfs.c and dfs.h respectively. This
is to make room for common functionality between frequency scaling and
suspend code for the DRAM in a pair of common files named dram.c and
dram.h. It also removes a duplicate enum definition from
dram_spec_timing.h

Change-Id: Ibfa1041f8781401f9d27901fe8c61862bcb05562
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
plat/rockchip/rk3399/drivers/dram/dfs.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/dram/dfs.h [new file with mode: 0644]
plat/rockchip/rk3399/drivers/dram/dram.c
plat/rockchip/rk3399/drivers/dram/dram.h
plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c
plat/rockchip/rk3399/drivers/dram/dram_spec_timing.h
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/plat_sip_calls.c
plat/rockchip/rk3399/platform.mk