Protect SPI code with #ifdef CONFIG_MXC_SPI