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:
parent
4fe117be42
commit
0d2e36b834
|
|
@ -338,6 +338,11 @@ ulong fit_image_get_bootables_size(const void *fit)
|
||||||
ulong max_off, load;
|
ulong max_off, load;
|
||||||
int offset, size;
|
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))
|
if (!fit_image_get_param(fit, FIT_FDT_PROP, &load, &offset, &size))
|
||||||
off[0] = offset + FIT_ALIGN(size);
|
off[0] = offset + FIT_ALIGN(size);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue