hikey: update ddr initialization
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 11 Apr 2018 11:05:32 +0000 (19:05 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 11 Apr 2018 11:05:32 +0000 (19:05 +0800)
commit483dce7eef371cffaa224090305e15516ae452e5
tree70f1cfca3bf813efd818e75742bdbd607f078081
parenta2344983143722af9391ffad34d9db451c67be20
hikey: update ddr initialization

Fix that DDR can't work at 533MHz. Now step to set DDR frequency
from 150MHz to 800MHz. DDR could work among these frequency, 150MHz,
266MHz, 400MHz, 533MHz and 800MHz.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
plat/hisilicon/hikey/hikey_bl2_setup.c
plat/hisilicon/hikey/hikey_ddr.c
plat/hisilicon/hikey/hikey_private.h