All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sourav Poddar <sourav.poddar@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [UBOOT]: Mcspi/qspi conflicting configs leading to build failure.
Date: Fri, 4 Oct 2013 00:07:51 +0530	[thread overview]
Message-ID: <524DB97F.2020107@ti.com> (raw)

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 ?

             reply	other threads:[~2013-10-03 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03 18:37 Sourav Poddar [this message]
2013-10-03 18:41 ` [U-Boot] [UBOOT]: Mcspi/qspi conflicting configs leading to build failure Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524DB97F.2020107@ti.com \
    --to=sourav.poddar@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.