diff options
-rw-r--r-- | drivers/spi/mxc_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 7d84865..04d280f 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -414,10 +414,12 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, return NULL; } +#ifdef CONFIG_MX6 if (mx6_ecspi_fused(spi_bases[bus])) { printf("ECSPI@0x%lx is fused, disable it\n", spi_bases[bus]); return NULL; } +#endif mxcs = spi_alloc_slave(struct mxc_spi_slave, bus, cs); if (!mxcs) { |