prepare flash layer for objectification
commit7959d4eb78f4290795869420e0b2139e99a4b075
authorZachary T Welch <zw@superlucidity.net>
Wed, 18 Nov 2009 18:36:40 +0000 (18 10:36 -0800)
committerZachary T Welch <zw@superlucidity.net>
Tue, 8 Dec 2009 02:57:37 +0000 (7 18:57 -0800)
tree83ddefc3683b9febc67cce662e37350acc0b15c8
parent6c9075d6ef280095c7d2975a2fa407b0edbe5637
prepare flash layer for objectification

Prepare to use container_of to allow all flash drivers to share a common
high-level module for managing memory banks, reducing duplicated code
between the two submodules.  Adds the new structures and conversion
helpers that can used to update the drivers and banks/devices.
src/flash/common.h
src/flash/nand/core.h
src/flash/nand/driver.h
src/flash/nor/core.h
src/flash/nor/driver.h