[PATCH v12 04/13] fpga: zynqmp: add str2flags call