[PATCH RFC 2/3] fpga: support loading from a pre-allocated buffer