bsp/xilinx-zynq: Add cache support
libblock: Avoid uninitialized variable