This is not the way how this should be implemented. Right now there is fit image format which should be extended to cover this feature. Signed-off-by: Michal Simek <michal.simek@xilinx.com>