Fix SPI dynamic config.