[PATCH 2/4] xilinx: zynq: Add support for saving env based on bootmode