rockchip: fit: return whole fit totalsize

Only for debug.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I48f6577abbb22d15c7b4fc0ea6bc6409c39d9b63
This commit is contained in:
Joseph Chen 2020-07-06 16:07:37 +08:00
parent 4fe117be42
commit 0d2e36b834
1 changed files with 5 additions and 0 deletions

View File

@ -338,6 +338,11 @@ ulong fit_image_get_bootables_size(const void *fit)
ulong max_off, load;
int offset, size;
#if 0
if (!fit_get_totalsize(fit, &size))
return size;
#endif
if (!fit_image_get_param(fit, FIT_FDT_PROP, &load, &offset, &size))
off[0] = offset + FIT_ALIGN(size);