* [PATCH 08/25] mmp: add nand support to pxa168
@ 2010-05-31 6:57 Lei Wen
0 siblings, 0 replies; 4+ messages in thread
From: Lei Wen @ 2010-05-31 6:57 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Lei Wen <leiwen@marvell.com>
---
arch/arm/configs/pxa168_defconfig | 9 ++++++++-
drivers/mtd/nand/Kconfig | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/configs/pxa168_defconfig
b/arch/arm/configs/pxa168_defconfig
index 113511f..a01ea99 100644
--- a/arch/arm/configs/pxa168_defconfig
+++ b/arch/arm/configs/pxa168_defconfig
@@ -438,7 +438,14 @@ CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
-# CONFIG_MTD is not set
+CONFIG_MTD=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_PXA3xx=y
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set
# CONFIG_MISC_DEVICES is not set
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 9a35d92..0d29b5d 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -394,7 +394,7 @@ endchoice
config MTD_NAND_PXA3xx
tristate "Support for NAND flash devices on PXA3xx"
- depends on MTD_NAND && (PXA3xx || ARCH_MMP)
+ depends on MTD_NAND && PLAT_PXA
help
This enables the driver for the NAND flash device found on
PXA3xx processors
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 08/25] mmp: add nand support to pxa168
@ 2010-06-18 5:34 Haojian Zhuang
2010-06-18 6:59 ` Eric Miao
0 siblings, 1 reply; 4+ messages in thread
From: Haojian Zhuang @ 2010-06-18 5:34 UTC (permalink / raw)
To: linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 08/25] mmp: add nand support to pxa168
2010-06-18 5:34 Haojian Zhuang
@ 2010-06-18 6:59 ` Eric Miao
2010-06-18 8:56 ` Lei Wen
0 siblings, 1 reply; 4+ messages in thread
From: Eric Miao @ 2010-06-18 6:59 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 18, 2010 at 1:34 PM, Haojian Zhuang
<haojian.zhuang@gmail.com> wrote:
> From 55adf11cb4ba8ba0b88148c9bce0cc08f94b97bd Mon Sep 17 00:00:00 2001
> From: Lei Wen <leiwen@marvell.com>
> Date: Mon, 31 May 2010 14:57:49 +0800
> Subject: [PATCH 08/25] mmp: add nand support to pxa168
>
> Signed-off-by: Lei Wen <leiwen@marvell.com>
> ---
> ?arch/arm/configs/pxa168_defconfig | ? ?9 ++++++++-
> ?drivers/mtd/nand/Kconfig ? ? ? ? ?| ? ?2 +-
> ?2 files changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/configs/pxa168_defconfig
> b/arch/arm/configs/pxa168_defconfig
> index 113511f..a01ea99 100644
> --- a/arch/arm/configs/pxa168_defconfig
> +++ b/arch/arm/configs/pxa168_defconfig
> @@ -438,7 +438,14 @@ CONFIG_EXTRA_FIRMWARE=""
> ?# CONFIG_DEBUG_DEVRES is not set
> ?# CONFIG_SYS_HYPERVISOR is not set
> ?# CONFIG_CONNECTOR is not set
> -# CONFIG_MTD is not set
> +CONFIG_MTD=y
> +CONFIG_MTD_PARTITIONS=y
> +CONFIG_MTD_CMDLINE_PARTS=y
> +CONFIG_MTD_CHAR=y
> +CONFIG_MTD_BLKDEVS=y
> +CONFIG_MTD_BLOCK=y
> +CONFIG_MTD_NAND=y
> +CONFIG_MTD_NAND_PXA3xx=y
> ?# CONFIG_PARPORT is not set
> ?# CONFIG_BLK_DEV is not set
> ?# CONFIG_MISC_DEVICES is not set
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index 9a35d92..0d29b5d 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -394,7 +394,7 @@ endchoice
>
> ?config MTD_NAND_PXA3xx
> ? ? ? ?tristate "Support for NAND flash devices on PXA3xx"
> - ? ? ? depends on MTD_NAND && (PXA3xx || ARCH_MMP)
> + ? ? ? depends on MTD_NAND && PLAT_PXA
I'd prefer this not being changed, as pxa3xx_nand isn't applicable to
pxa25x/pxa27x.
> ? ? ? ?help
> ? ? ? ? ?This enables the driver for the NAND flash device found on
> ? ? ? ? ?PXA3xx processors
> --
> 1.7.0.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 08/25] mmp: add nand support to pxa168
2010-06-18 6:59 ` Eric Miao
@ 2010-06-18 8:56 ` Lei Wen
0 siblings, 0 replies; 4+ messages in thread
From: Lei Wen @ 2010-06-18 8:56 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 18, 2010 at 2:59 PM, Eric Miao <eric.y.miao@gmail.com> wrote:
> On Fri, Jun 18, 2010 at 1:34 PM, Haojian Zhuang
> <haojian.zhuang@gmail.com> wrote:
>> From 55adf11cb4ba8ba0b88148c9bce0cc08f94b97bd Mon Sep 17 00:00:00 2001
>> From: Lei Wen <leiwen@marvell.com>
>> Date: Mon, 31 May 2010 14:57:49 +0800
>> Subject: [PATCH 08/25] mmp: add nand support to pxa168
>>
>> Signed-off-by: Lei Wen <leiwen@marvell.com>
>> ---
>> ?arch/arm/configs/pxa168_defconfig | ? ?9 ++++++++-
>> ?drivers/mtd/nand/Kconfig ? ? ? ? ?| ? ?2 +-
>> ?2 files changed, 9 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/configs/pxa168_defconfig
>> b/arch/arm/configs/pxa168_defconfig
>> index 113511f..a01ea99 100644
>> --- a/arch/arm/configs/pxa168_defconfig
>> +++ b/arch/arm/configs/pxa168_defconfig
>> @@ -438,7 +438,14 @@ CONFIG_EXTRA_FIRMWARE=""
>> ?# CONFIG_DEBUG_DEVRES is not set
>> ?# CONFIG_SYS_HYPERVISOR is not set
>> ?# CONFIG_CONNECTOR is not set
>> -# CONFIG_MTD is not set
>> +CONFIG_MTD=y
>> +CONFIG_MTD_PARTITIONS=y
>> +CONFIG_MTD_CMDLINE_PARTS=y
>> +CONFIG_MTD_CHAR=y
>> +CONFIG_MTD_BLKDEVS=y
>> +CONFIG_MTD_BLOCK=y
>> +CONFIG_MTD_NAND=y
>> +CONFIG_MTD_NAND_PXA3xx=y
>> ?# CONFIG_PARPORT is not set
>> ?# CONFIG_BLK_DEV is not set
>> ?# CONFIG_MISC_DEVICES is not set
>> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
>> index 9a35d92..0d29b5d 100644
>> --- a/drivers/mtd/nand/Kconfig
>> +++ b/drivers/mtd/nand/Kconfig
>> @@ -394,7 +394,7 @@ endchoice
>>
>> ?config MTD_NAND_PXA3xx
>> ? ? ? ?tristate "Support for NAND flash devices on PXA3xx"
>> - ? ? ? depends on MTD_NAND && (PXA3xx || ARCH_MMP)
>> + ? ? ? depends on MTD_NAND && PLAT_PXA
>
> I'd prefer this not being changed, as pxa3xx_nand isn't applicable to
> pxa25x/pxa27x.
>
I see... I would remove that change
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-18 8:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-31 6:57 [PATCH 08/25] mmp: add nand support to pxa168 Lei Wen
-- strict thread matches above, loose matches on Subject: below --
2010-06-18 5:34 Haojian Zhuang
2010-06-18 6:59 ` Eric Miao
2010-06-18 8:56 ` Lei Wen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).