From: Ben Dooks <ben-linux@fluff.org>
To: Peter Korsgaard <jacmet@sunsite.dk>
Cc: wookey@wookware.org, linux-mtd@lists.infradead.org,
David.Woodhouse@intel.com, ben-linux@fluff.org,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [PATCH] mtd/nand: s3c6400 support for s3c2410 driver
Date: Mon, 8 Jun 2009 12:11:21 +0100 [thread overview]
Message-ID: <20090608111120.GA31034@fluff.org.uk> (raw)
In-Reply-To: <1244379863-23581-2-git-send-email-jacmet@sunsite.dk>
On Sun, Jun 07, 2009 at 03:04:23PM +0200, Peter Korsgaard wrote:
> Add s3c6400 support to the s3c2410 driver. The nand controller in
> the s3c64xx devices is compatible with the one in the s3c2412, so
> simply reuse that code.
>
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Ben Dooks <ben-linux@fluff.org>
> ---
> drivers/mtd/nand/Kconfig | 18 +++++++++---------
> drivers/mtd/nand/s3c2410.c | 3 +++
> 2 files changed, 12 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index 890936d..4d63d7b 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -139,27 +139,27 @@ config MTD_NAND_PPCHAMELEONEVB
> This enables the NAND flash driver on the PPChameleon EVB Board.
>
> config MTD_NAND_S3C2410
> - tristate "NAND Flash support for S3C2410/S3C2440 SoC"
> - depends on ARCH_S3C2410
> + tristate "NAND Flash support for Samsung S3C SoCs"
> + depends on ARCH_S3C2410 || ARCH_S3C64XX
> help
> - This enables the NAND flash controller on the S3C2410 and S3C2440
> + This enables the NAND flash controller on the S3C24xx and S3C64xx
> SoCs
>
> No board specific support is done by this driver, each board
> must advertise a platform_device for the driver to attach.
>
> config MTD_NAND_S3C2410_DEBUG
> - bool "S3C2410 NAND driver debug"
> + bool "Samsung S3C NAND driver debug"
> depends on MTD_NAND_S3C2410
> help
> - Enable debugging of the S3C2410 NAND driver
> + Enable debugging of the S3C NAND driver
>
> config MTD_NAND_S3C2410_HWECC
> - bool "S3C2410 NAND Hardware ECC"
> + bool "Samsung S3C NAND Hardware ECC"
> depends on MTD_NAND_S3C2410
> help
> - Enable the use of the S3C2410's internal ECC generator when
> - using NAND. Early versions of the chip have had problems with
> + Enable the use of the controller's internal ECC generator when
> + using NAND. Early versions of the chips have had problems with
> incorrect ECC generation, and if using these, the default of
> software ECC is preferable.
>
> @@ -171,7 +171,7 @@ config MTD_NAND_NDFC
> NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
>
> config MTD_NAND_S3C2410_CLKSTOP
> - bool "S3C2410 NAND IDLE clock stop"
> + bool "Samsung S3C NAND IDLE clock stop"
> depends on MTD_NAND_S3C2410
> default n
> help
> diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
> index 01a105e..11dc7e6 100644
> --- a/drivers/mtd/nand/s3c2410.c
> +++ b/drivers/mtd/nand/s3c2410.c
> @@ -1111,6 +1111,9 @@ static struct platform_device_id s3c24xx_driver_ids[] = {
> }, {
> .name = "s3c2412-nand",
> .driver_data = TYPE_S3C2412,
> + }, {
> + .name = "s3c6400-nand",
> + .driver_data = TYPE_S3C2412, /* compatible with 2412 */
> },
> { }
> };
> --
> 1.6.2
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
next prev parent reply other threads:[~2009-06-08 11:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 13:04 [PATCH] nand/s3c2410: s3c2410_nand_setrate(): use correct macros for 2412/2440 Peter Korsgaard
2009-06-07 13:04 ` [PATCH] mtd/nand: s3c6400 support for s3c2410 driver Peter Korsgaard
2009-06-08 11:11 ` Ben Dooks [this message]
2009-06-08 11:41 ` David Woodhouse
2009-06-08 5:28 ` [PATCH] nand/s3c2410: s3c2410_nand_setrate(): use correct macros for 2412/2440 Artem Bityutskiy
2009-06-08 5:38 ` Peter Korsgaard
2009-06-08 5:47 ` Artem Bityutskiy
2009-06-08 6:32 ` Peter Korsgaard
2009-06-08 6:41 ` Artem Bityutskiy
2009-06-08 7:51 ` David Woodhouse
2009-06-08 7:54 ` Peter Korsgaard
2009-06-08 11:20 ` Ben Dooks
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=20090608111120.GA31034@fluff.org.uk \
--to=ben-linux@fluff.org \
--cc=David.Woodhouse@intel.com \
--cc=jacmet@sunsite.dk \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-mtd@lists.infradead.org \
--cc=wookey@wookware.org \
/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.