rockchip: ARM64: puma-rk3399: get DRAM size from DMC init
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 28 Apr 2017 15:31:44 +0000 (17:31 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 10 May 2017 19:37:21 +0000 (13:37 -0600)
commite92e58035062930fcbcb1861cc92f512bde4067b
tree3f2215de6744379a4eb900f3edd6b76cc0fed36d
parenta70feb462016d1a6a4e6254aa10ba68948b458f2
rockchip: ARM64: puma-rk3399: get DRAM size from DMC init

With the RK3399 DRAM controller (DMC) driver providing all the
infrastructure, retrieve the DRAM size from the DMC init in the
board-specific code (instead of hard-coding) for the RK3399-Q7 (Puma).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/theobroma-systems/puma_rk3399/puma-rk3399.c