[U-Boot] [PATCH 4/9] Nand mxc_nand add v1.1 controller support

Fabio Estevam fabioestevam at yahoo.com
Wed Jan 13 16:10:26 CET 2010


Hi John,

--- On Wed, 1/13/10, John Rigby <jcrigby at gmail.com> wrote:

> From: John Rigby <jcrigby at gmail.com>
> Subject: [U-Boot] [PATCH 4/9] Nand mxc_nand add v1.1 controller support
> To: u-boot at lists.denx.de
> Cc: "John Rigby" <jcrigby at gmail.com>
> Date: Wednesday, January 13, 2010, 2:43 AM
> Add support for version 1.1 of the
> nfc nand flash
> controller which is on the i.mx25 soc.
> 
> Use CONFIG_NAND_MXC_V1 and CONFIG_NAND_MXC_V1_1 to
> differentiate between the two supported versions.

In order to avoid confusion and to use the same naming convention in the kernel for the NAND controller versions on the i.MX family: can you use V1 and V2 (instead of V1_1)?

Check http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/mtd/nand/mxc_nand.c;h=45dec5770da0b93ea560bc812b482d7e34951a56;hb=master

#define nfc_is_v21()            (cpu_is_mx25() || cpu_is_mx35())
#define nfc_is_v1()             (cpu_is_mx31() || cpu_is_mx27())

Thanks,

Fabio Estevam



      


More information about the U-Boot mailing list