Tegra: memctrl_v2: program Video Memory carveout size in MBs
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 25 Apr 2016 16:01:46 +0000 (09:01 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 23 Mar 2017 22:23:30 +0000 (15:23 -0700)
commit3b52fc1f829442322d15dbd3dad4a42a5371e661
treeb2036acfcb467bcc6bf7e0520556c624de8b02da
parent99ef4a5cbc92af7d73798ef0e98dce01756f73c2
Tegra: memctrl_v2: program Video Memory carveout size in MBs

This patch fixes the programming logic for the Video memory carveout's
size. The Memory Controller expects the size in terms of MBs instead
of bytes.

Change-Id: Ia8261b737448bae9a435fe21ab336126785d4279
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c