rockchip/rk3399: Move DRAM restore to PMUSRAM
authorDerek Basehore <dbasehore@chromium.org>
Tue, 16 May 2017 04:18:28 +0000 (21:18 -0700)
committerCaesar Wang <wxt@rock-chips.com>
Thu, 8 Jun 2017 01:59:53 +0000 (09:59 +0800)
commitaf27fb89a9b755eb7adb65f52027f78d5c7a461a
tree33b341912df7cc5f8fe8b31931ecb9effc89e71f
parentc82eef6ce57a5d1f8408778f191928e958c39878
rockchip/rk3399: Move DRAM restore to PMUSRAM

This moves the DRAM restore code to PMUSRAM. This is so that the
voltage domain that contains the SRAM that it was stored in before may
be turned off during system suspend.

Change-Id: Id761181a30caadd12f1ce061d1034f3159a76d28
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/rk3399/drivers/dram/dram.c
plat/rockchip/rk3399/drivers/dram/suspend.c
plat/rockchip/rk3399/drivers/dram/suspend.h