From: Josh Wu <josh.wu@atmel.com>
To: dedekind1@gmail.com
Cc: hongxu.cn@gmail.com, nicolas.ferre@atmel.com,
linux-mtd@lists.infradead.org, ivan.djelic@parrot.com,
plagnioj@jcrosoft.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v6] MTD: atmel_nand: Update driver to support Programmable Multibit ECC controller
Date: Mon, 14 May 2012 18:54:56 +0800 [thread overview]
Message-ID: <4FB0E480.1070609@atmel.com> (raw)
In-Reply-To: <1336738300.2625.57.camel@sauron.fi.intel.com>
Hi, Artem
On 5/11/2012 8:11 PM, Artem Bityutskiy wrote:
> On Wed, 2012-05-09 at 19:00 +0800, Josh Wu wrote:
>> The Programmable Multibit ECC (PMECC) controller is a programmable binary
>> BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller
>> can be used to support both SLC and MLC NAND Flash devices. It supports to
>> generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.
>>
>> To use this driver, the user needs to pass in the correction capability and
>> the sector size.
>>
>> This driver has been tested on AT91SAM9X5-EK and AT91SAM9N12-EK with JFFS2,
>> YAFFS2, UBIFS and mtd-utils.
>>
>> Signed-off-by: Hong Xu<hong.xu@atmel.com>
>> Signed-off-by: Josh Wu<josh.wu@atmel.com>
> The patch is really big - please, split it on more smaller patches.
OK, I can spit to more patches.
> Besides, it does not compile for me:
>
> ERROR: "of_flat_dt_is_compatible" [drivers/mtd/nand/atmel_nand.ko] undefined!
> ERROR: "of_get_flat_dt_root" [drivers/mtd/nand/atmel_nand.ko] undefined!
> make[2]: *** [__modpost] Error 1
This function will depend on CONFIG_OF_FLATTREE and
CONFIG_OF_EARLY_FLATTREE.
Would it be possible that CONFIG_OF is defined, but above two config
options are not defined? Can I see you .config file go get more details?
Best Regards,
Josh Wu
WARNING: multiple messages have this Message-ID (diff)
From: josh.wu@atmel.com (Josh Wu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6] MTD: atmel_nand: Update driver to support Programmable Multibit ECC controller
Date: Mon, 14 May 2012 18:54:56 +0800 [thread overview]
Message-ID: <4FB0E480.1070609@atmel.com> (raw)
In-Reply-To: <1336738300.2625.57.camel@sauron.fi.intel.com>
Hi, Artem
On 5/11/2012 8:11 PM, Artem Bityutskiy wrote:
> On Wed, 2012-05-09 at 19:00 +0800, Josh Wu wrote:
>> The Programmable Multibit ECC (PMECC) controller is a programmable binary
>> BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller
>> can be used to support both SLC and MLC NAND Flash devices. It supports to
>> generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.
>>
>> To use this driver, the user needs to pass in the correction capability and
>> the sector size.
>>
>> This driver has been tested on AT91SAM9X5-EK and AT91SAM9N12-EK with JFFS2,
>> YAFFS2, UBIFS and mtd-utils.
>>
>> Signed-off-by: Hong Xu<hong.xu@atmel.com>
>> Signed-off-by: Josh Wu<josh.wu@atmel.com>
> The patch is really big - please, split it on more smaller patches.
OK, I can spit to more patches.
> Besides, it does not compile for me:
>
> ERROR: "of_flat_dt_is_compatible" [drivers/mtd/nand/atmel_nand.ko] undefined!
> ERROR: "of_get_flat_dt_root" [drivers/mtd/nand/atmel_nand.ko] undefined!
> make[2]: *** [__modpost] Error 1
This function will depend on CONFIG_OF_FLATTREE and
CONFIG_OF_EARLY_FLATTREE.
Would it be possible that CONFIG_OF is defined, but above two config
options are not defined? Can I see you .config file go get more details?
Best Regards,
Josh Wu
next prev parent reply other threads:[~2012-05-14 10:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 11:00 [PATCH v6] MTD: atmel_nand: Update driver to support Programmable Multibit ECC controller Josh Wu
2012-05-09 11:00 ` Josh Wu
2012-05-11 12:11 ` Artem Bityutskiy
2012-05-11 12:11 ` Artem Bityutskiy
2012-05-14 10:54 ` Josh Wu [this message]
2012-05-14 10:54 ` Josh Wu
2012-05-15 10:37 ` Artem Bityutskiy
2012-05-15 10:37 ` Artem Bityutskiy
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=4FB0E480.1070609@atmel.com \
--to=josh.wu@atmel.com \
--cc=dedekind1@gmail.com \
--cc=hongxu.cn@gmail.com \
--cc=ivan.djelic@parrot.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.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 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.