rk3399: dram: use PMU M0 to do ddr frequency scaling
authorXing Zheng <zhengxing@rock-chips.com>
Wed, 26 Oct 2016 13:25:26 +0000 (21:25 +0800)
committerXing Zheng <zhengxing@rock-chips.com>
Fri, 24 Feb 2017 12:07:44 +0000 (20:07 +0800)
commit977001aa877f90dfbc8033f8b266b7488c442038
tree584e869a298894c9ef42fa99acecd315bd56b224
parente82f5082726cbbf6015fb9f0419f094f17869515
rk3399: dram: use PMU M0 to do ddr frequency scaling

We used dcf do ddr frequency scaling, but we just include a dcf
binary, it hard to maintain later, we have M0 compile flow in ATF,
and M0 can also work for ddr frequency scaling, so let's use it.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
21 files changed:
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/pmusram/pmu_sram.c
plat/rockchip/rk3399/drivers/dram/dcf_code.inc [deleted file]
plat/rockchip/rk3399/drivers/dram/dfs.c
plat/rockchip/rk3399/drivers/dram/dfs.h
plat/rockchip/rk3399/drivers/m0/Makefile
plat/rockchip/rk3399/drivers/m0/include/rk3399_mcu.h
plat/rockchip/rk3399/drivers/m0/src/dram.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/m0/src/main.c
plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld [deleted file]
plat/rockchip/rk3399/drivers/m0/src/rk3399m0.ld.S [new file with mode: 0644]
plat/rockchip/rk3399/drivers/m0/src/suspend.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/pmu/m0_ctl.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/pmu/m0_ctl.h [new file with mode: 0644]
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/rk3399m0.h [deleted file]
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/drivers/soc/soc.h
plat/rockchip/rk3399/include/shared/m0_param.h [new file with mode: 0644]
plat/rockchip/rk3399/plat_sip_calls.c
plat/rockchip/rk3399/platform.mk