NetBSD/sys/dev/nand/files.nand
ahoka 0e8f635bc2 Refactor flash and nand driver, so we can reuse the io thread code
in the future nor driver (and any other future driver).

Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00

19 lines
447 B
Plaintext

# $NetBSD: files.nand,v 1.4 2011/06/28 18:14:11 ahoka Exp $
define nandbus { }
device nand: flashbus
attach nand at nandbus
file dev/nand/nand.c nand
file dev/nand/hamming.c nand
file dev/nand/nand_bbt.c nand
file dev/nand/nand_crc.c nand
file dev/nand/nand_micron.c nand
defpseudodev nandemulator: nandbus
file dev/nand/nandemulator.c nandemulator
defflag opt_nand.h NAND_BBT
defflag opt_nand.h NAND_DEBUG
defflag opt_nand.h NAND_VERBOSE