From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sourav Poddar Date: Fri, 4 Oct 2013 00:07:51 +0530 Subject: [U-Boot] [UBOOT]: Mcspi/qspi conflicting configs leading to build failure. Message-ID: <524DB97F.2020107@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jagan, If you see the mcspi defconfig(CONFIG_OMAP3_SPI), it is moved to common file "include/configs/ti_armv7_common.h" . But with this, now after adding qspi the build breaks like this.. ti_qspi.o: In function `spi_cs_is_valid': /home/a0131647/clone/u-boot/drivers/spi/ti_qspi.c:108: multiple definition of `spi_cs_is_valid' omap3_spi.o:/home/a0131647/clone/u-boot/drivers/spi/omap3_spi.c:415: first defined here ti_qspi.o: In function `spi_cs_activate': /home/a0131647/clone/u-boot/drivers/spi/ti_qspi.c:114: multiple definition of `spi_cs_activate' omap3_spi.o:/home/a0131647/clone/u-boot/drivers/spi/omap3_spi.c:419: first defined here ti_qspi.o: In function `spi_cs_deactivate': /home/a0131647/clone/u-boot/drivers/spi/ti_qspi.c:120: multiple definition of `spi_cs_deactivate' omap3_spi.o:/home/a0131647/clone/u-boot/drivers/spi/omap3_spi.c:423: first defined here ti_qspi.o: In function `spi_init': /home/a0131647/clone/u-boot/drivers/spi/ti_qspi.c:125: multiple definition of `spi_init' As of now, I am tackling this by doing a undef CONFIG_OMAP3_SPI in my configs. But, we should have a way to use both(spi/qspi) of them simultaneously ?