]> git.sur5r.net Git - u-boot/commit
Nand mxc_nand add v1.1 controller support
authorJohn Rigby <jcrigby@gmail.com>
Wed, 6 Jan 2010 05:34:13 +0000 (22:34 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 16:17:09 +0000 (17:17 +0100)
commitd496c3e0ad77be0cd0993bfa7ecba752aa999e22
treeda3ec39ad90b2f7c0a530999d7b4a06df946d09e
parent0d82f58d72e2d03d8e5736879dd3b75d73361782
Nand mxc_nand add v1.1 controller support

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.

Add a define CONFIG_NAND_MXC_V1 to imx27lite board config.

Also factor out some soc specific nand geometry config
into a new inline routine and a couple of defines:
    mxc_get_nfc_info
    IMX_NFC_IS_16BIT
    IMX_NFC_IS_2KPAGE

Added to imx-regs.h.

Signed-off-by: John Rigby <jcrigby@gmail.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/mtd/nand/mxc_nand.c
include/asm-arm/arch-mx27/imx-regs.h
include/configs/imx27lite.h