NetBSD/sys/dev/flash/files.flash
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

11 lines
272 B
Plaintext

# $NetBSD: files.flash,v 1.2 2011/06/28 18:14:11 ahoka Exp $
define flashbus { [offset = 0], [size = 0], [readonly = 0] }
device flash
attach flash at flashbus
file dev/flash/flash.c flash
file dev/flash/flash_io.c flash
defflag opt_flash.h FLASH_STATIC_PARTITIONS