Re: [PATCH 01/10] i.MX Nand: Set correct datawidth/pagesize in CCM module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sascha,

Eric Bénard a écrit :
here is the fix (at least on my imx27 board) :


with that fix a :
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron NAND 512MiB 1,8V 8-bit) (2k pagesize) works fine on iMX27 using HW ECC (and NOR boot as iMX27 can't boot from Micron NAND).

Here is a cosmetic patch to remove unused code :

diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c
index edd7cdf..37f4e21 100644
--- a/drivers/nand/nand_imx.c
+++ b/drivers/nand/nand_imx.c
@@ -976,11 +976,6 @@ static int __init imxnd_probe(struct device_d *dev)

        add_mtd_device(mtd);

-#ifdef CONFIG_MXC_NAND_LOW_LEVEL_ERASE
-       /* Erase all the blocks of a NAND */
-       imx_low_erase(mtd);
-#endif
-
        dev->priv = host;

        return 0;

Eric

_______________________________________________
u-boot-v2 mailing list
u-boot-v2@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/u-boot-v2


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux