Re: [PATCH 1/2] arm: mmp: build sram driver alone

From: Qiao Zhou
Date: Wed Dec 04 2013 - 03:01:36 EST


On 12/04/2013 03:56 PM, Dan Williams wrote:
On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou <zhouqiao@xxxxxxxxxxx> wrote:
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.

Reported-by: Dan Williams <dan.j.williams@xxxxxxxxx>
Signed-off-by: Qiao Zhou <zhouqiao@xxxxxxxxxxx>
---
arch/arm/mach-mmp/Kconfig | 5 +++++
arch/arm/mach-mmp/Makefile | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index ebdda83..6a6597c 100644
--- a/arch/arm/mach-mmp/Kconfig
+++ b/arch/arm/mach-mmp/Kconfig
@@ -136,4 +136,9 @@ config USB_EHCI_MV_U2O
help
Enables support for OTG controller which can be switched to host mode.

+config MMP_SRAM
+ bool
+ help
+ Select code specific to sram.
+

No need for help text for something that is selected, and might as
well squash this with patch 2.

Dan, thanks. I'll update it.

--

Best Regards
Qiao
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/