dm: video: add reserve size debug info for rockchip video

Change-Id: I0d2693ea871ea41c84143e0f4e4c52c65b308dd7
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-03-08 21:21:52 +08:00 committed by Kever Yang
parent c7a79779cf
commit 0f3732faad
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ int video_reserve(ulong *addrp)
size = DRM_ROCKCHIP_FB_SIZE + MEMORY_POOL_SIZE;
*addrp = *addrp - size;
*addrp &= ~((1 << 20) - 1);
debug("Reserving %lx Bytes for video at: %lx\n", size, *addrp);
#else
for (uclass_find_first_device(UCLASS_VIDEO, &dev);
dev;