[PATCH 1/8] sunxi: SPL SPI: extract code for doing SPI transfer