Home
last modified time | relevance | path

Searched refs:lpc32xx_chip (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dlpc32xx_nand_slc.c521 int board_nand_init(struct nand_chip *lpc32xx_chip) in board_nand_init() argument
535 lpc32xx_chip->cmd_ctrl = lpc32xx_nand_cmd_ctrl; in board_nand_init()
536 lpc32xx_chip->dev_ready = lpc32xx_nand_dev_ready; in board_nand_init()
543 lpc32xx_chip->read_byte = lpc32xx_read_byte; in board_nand_init()
544 lpc32xx_chip->write_byte = lpc32xx_write_byte; in board_nand_init()
548 lpc32xx_chip->ecc.mode = NAND_ECC_HW; in board_nand_init()
550 lpc32xx_chip->read_buf = lpc32xx_dma_read_buf; in board_nand_init()
551 lpc32xx_chip->write_buf = lpc32xx_dma_write_buf; in board_nand_init()
553 lpc32xx_chip->ecc.calculate = lpc32xx_ecc_calculate; in board_nand_init()
554 lpc32xx_chip->ecc.correct = lpc32xx_correct_data; in board_nand_init()
[all …]
Dlpc32xx_nand_mlc.c535 static struct nand_chip lpc32xx_chip; variable
543 struct mtd_info *mtd = nand_to_mtd(&lpc32xx_chip); in board_nand_init()
548 lpc32xx_chip.IO_ADDR_R = &lpc32xx_nand_mlc_registers->buff; in board_nand_init()
549 lpc32xx_chip.IO_ADDR_W = &lpc32xx_nand_mlc_registers->buff; in board_nand_init()
550 lpc32xx_chip.cmd_ctrl = lpc32xx_cmd_ctrl; in board_nand_init()
552 lpc32xx_chip.dev_ready = lpc32xx_dev_ready; in board_nand_init()
555 lpc32xx_chip.options |= NAND_NO_SUBPAGE_WRITE; in board_nand_init()
559 lpc32xx_chip.ecc.mode = NAND_ECC_HW; in board_nand_init()
560 lpc32xx_chip.ecc.layout = &lpc32xx_largepage_ecclayout; in board_nand_init()
561 lpc32xx_chip.ecc.size = 512; in board_nand_init()
[all …]