]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/nvidia/common/board.c
spi: add common fdt SPI driver interface
[karo-tx-uboot.git] / board / nvidia / common / board.c
index 87a418bc6a34b49c3435e5b1baac007aecf4ebad..8d7a22765a19f9f1cface6362c6fedf1ee8f2fdb 100644 (file)
@@ -132,7 +132,7 @@ int board_init(void)
        clock_init();
        clock_verify();
 
-#if defined(CONFIG_TEGRA20_SFLASH) || defined(CONFIG_TEGRA20_SLINK)
+#ifdef CONFIG_FDT_SPI
        pin_mux_spi();
        spi_init();
 #endif