mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Sealey <matt@genesi-usa.com>
To: Linux ARM Kernel Mailing List  <linux-arm-kernel@lists.infradead.org>
Cc: Steev Klimaszewski <steev@genesi-usa.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Matt Sealey <matt@genesi-usa.com>,
	Shawn Guo <shawn.guo@linaro.org>,
	Dave Martin <dave.martin@linaro.org>,
	Anton Vorontsov <anton.vorontsov@linaro.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Sascha Hauer <kernel@pengutronix.de>
Subject: [PATCH 2/2] ARM: only build ssi-fiq.S et al if CONFIG_SND_IMX_SOC_PCM_FIQ is selected
Date: Tue,  7 Aug 2012 17:45:14 -0500	[thread overview]
Message-ID: <1344379514-30076-3-git-send-email-matt@genesi-usa.com> (raw)
In-Reply-To: <1344379514-30076-1-git-send-email-matt@genesi-usa.com>

Further to the previous patch, a custom configuration may be used based on the
imx_v6_v7_defconfig which removes the board depending on the audio driver pulling
this support code. However, since it is built dependent on CONFIG_SND_IMX_SOC
it is enabled in the build for all i.MX processors which enable any audio drivers.

Correct this by only building the SSI FIQ support code when the more specific
CONFIG_SND_IMX_SOC_PCM_FIQ is enabled. Since it's enabled in the imx_v6_v7_defconfig
anyway by the Eukrea board, nothing changes using the defconfig, so this is just
a convenience for people reconfiguring their kernels more sparsely than the default.

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/plat-mxc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile
index 6ac7200..89927f5 100644
--- a/arch/arm/plat-mxc/Makefile
+++ b/arch/arm/plat-mxc/Makefile
@@ -16,7 +16,7 @@ obj-$(CONFIG_MXC_USE_EPIT) += epit.o
 obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
 obj-$(CONFIG_CPU_FREQ_IMX)    += cpufreq.o
 obj-$(CONFIG_CPU_IDLE) += cpuidle.o
-ifdef CONFIG_SND_IMX_SOC
+ifdef CONFIG_SND_IMX_SOC_PCM_FIQ
 obj-y += ssi-fiq.o
 obj-y += ssi-fiq-ksym.o
 endif
-- 
1.7.9.5


  parent reply	other threads:[~2012-08-07 22:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 22:45 [PATCH 0/2] ARM: imx: change building of SSI FIQ support for i.MX processors Matt Sealey
2012-08-07 22:45 ` [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage Matt Sealey
2012-08-08  6:55   ` Sascha Hauer
2012-08-08 17:32     ` Matt Sealey
2012-08-08 19:27       ` Sascha Hauer
2012-08-09 10:24       ` Dave Martin
2012-08-09 14:32         ` Matt Sealey
2012-08-09 14:50           ` Dave Martin
2012-08-09 16:05             ` Matt Sealey
2012-08-09 16:51               ` Dave Martin
2012-08-07 22:45 ` Matt Sealey [this message]
2012-08-08  6:52   ` [PATCH 2/2] ARM: only build ssi-fiq.S et al if CONFIG_SND_IMX_SOC_PCM_FIQ is selected Sascha Hauer

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=1344379514-30076-3-git-send-email-matt@genesi-usa.com \
    --to=matt@genesi-usa.com \
    --cc=anton.vorontsov@linaro.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dave.martin@linaro.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shawn.guo@linaro.org \
    --cc=steev@genesi-usa.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®