[PATCH 3/5] mfplat: Move buffer implementation to separate file.