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