NetBSD/sys/dev/flash/files.flash
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00

10 lines
239 B
Plaintext

# $NetBSD: files.flash,v 1.1 2011/02/26 18:07:30 ahoka Exp $
define flashbus { [offset = 0], [size = 0], [readonly = 0] }
device flash
attach flash at flashbus
file dev/flash/flash.c flash
defflag opt_flash.h FLASH_STATIC_PARTITIONS