spi: move common spi_setup() functionality into core