From: Qiao Zhou <zhouqiao@marvell.com>
To: <eric.y.miao@gmail.com>, <haojian.zhuang@gmail.com>,
<dan.j.williams@intel.com>, <vinod.koul@intel.com>,
<linux-kernel@vger.kernel.org>, <dmaengine@vger.kernel.org>,
<chao.xie@marvell.com>
Cc: Qiao Zhou <zhouqiao@marvell.com>
Subject: [PATCH 1/2] arm: mmp: build sram driver alone
Date: Wed, 4 Dec 2013 16:21:14 +0800 [thread overview]
Message-ID: <1386145275-27438-2-git-send-email-zhouqiao@marvell.com> (raw)
In-Reply-To: <1386145275-27438-1-git-send-email-zhouqiao@marvell.com>
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
---
arch/arm/mach-mmp/Kconfig | 3 +++
arch/arm/mach-mmp/Makefile | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index ebdda83..ebdba87 100644
--- a/arch/arm/mach-mmp/Kconfig
+++ b/arch/arm/mach-mmp/Kconfig
@@ -136,4 +136,7 @@ config USB_EHCI_MV_U2O
help
Enables support for OTG controller which can be switched to host mode.
+config MMP_SRAM
+ bool
+
endif
diff --git a/arch/arm/mach-mmp/Makefile b/arch/arm/mach-mmp/Makefile
index 9b702a1..98f0f63 100644
--- a/arch/arm/mach-mmp/Makefile
+++ b/arch/arm/mach-mmp/Makefile
@@ -7,7 +7,8 @@ obj-y += common.o devices.o time.o
# SoC support
obj-$(CONFIG_CPU_PXA168) += pxa168.o
obj-$(CONFIG_CPU_PXA910) += pxa910.o
-obj-$(CONFIG_CPU_MMP2) += mmp2.o sram.o
+obj-$(CONFIG_CPU_MMP2) += mmp2.o
+obj-$(CONFIG_MMP_SRAM) += sram.o
ifeq ($(CONFIG_COMMON_CLK), )
obj-y += clock.o
--
1.7.0.4
next prev parent reply other threads:[~2013-12-04 8:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 8:21 [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone Qiao Zhou
2013-12-04 8:21 ` Qiao Zhou [this message]
2013-12-04 8:21 ` [PATCH 2/2] dma: mmp-tdma: select sram driver Qiao Zhou
2013-12-04 11:17 ` [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone Haojian Zhuang
2013-12-04 11:24 ` Qiao Zhou
2013-12-04 19:17 ` Dan Williams
2013-12-05 1:37 ` Qiao Zhou
-- strict thread matches above, loose matches on Subject: below --
2013-12-04 7:05 [PATCH 1/2] arm: mmp: build sram driver alone Qiao Zhou
2013-12-04 7:56 ` Dan Williams
2013-12-04 8:01 ` Qiao Zhou
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=1386145275-27438-2-git-send-email-zhouqiao@marvell.com \
--to=zhouqiao@marvell.com \
--cc=chao.xie@marvell.com \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=eric.y.miao@gmail.com \
--cc=haojian.zhuang@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vinod.koul@intel.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®