au1550nd.c (716bbbabcc68c2b0e1b805d369c0bd58f4fdea30) au1550nd.c (bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543)
1/*
2 * Copyright (C) 2004 Embedded Edge, LLC
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 */

--- 416 unchanged lines hidden (view full) ---

425 dev_err(&pdev->dev, "cannot detect NAND chipselect\n");
426 ret = -ENODEV;
427 goto out3;
428 }
429 ctx->cs = cs;
430
431 this->dev_ready = au1550_device_ready;
432 this->select_chip = au1550_select_chip;
1/*
2 * Copyright (C) 2004 Embedded Edge, LLC
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 */

--- 416 unchanged lines hidden (view full) ---

425 dev_err(&pdev->dev, "cannot detect NAND chipselect\n");
426 ret = -ENODEV;
427 goto out3;
428 }
429 ctx->cs = cs;
430
431 this->dev_ready = au1550_device_ready;
432 this->select_chip = au1550_select_chip;
433 this->cmdfunc = au1550_command;
433 this->legacy.cmdfunc = au1550_command;
434
435 /* 30 us command delay time */
436 this->chip_delay = 30;
437 this->ecc.mode = NAND_ECC_SOFT;
438 this->ecc.algo = NAND_ECC_HAMMING;
439
440 if (pd->devwidth)
441 this->options |= NAND_BUSWIDTH_16;

--- 52 unchanged lines hidden ---
434
435 /* 30 us command delay time */
436 this->chip_delay = 30;
437 this->ecc.mode = NAND_ECC_SOFT;
438 this->ecc.algo = NAND_ECC_HAMMING;
439
440 if (pd->devwidth)
441 this->options |= NAND_BUSWIDTH_16;

--- 52 unchanged lines hidden ---