]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/nand/lpc32xx_nand_mlc.c
mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data
[people/ms/u-boot.git] / drivers / mtd / nand / lpc32xx_nand_mlc.c
index 236b0becd7903f13a93126605171b421276f8fa1..9475208918939e54b2342e8ac97aa3957d5bccc1 100644 (file)
@@ -542,8 +542,6 @@ void board_nand_init(void)
        struct mtd_info *mtd = &lpc32xx_chip.mtd;
        int ret;
 
-       mtd->priv = &lpc32xx_chip;
-
        /* Set all BOARDSPECIFIC (actually core-specific) fields  */
 
        lpc32xx_chip.IO_ADDR_R = &lpc32xx_nand_mlc_registers->buff;