nvmem: Add flash support

Allow flash devices to be accessed using the NVMEM API. Note that it simply
uses the read/write API functions. Erasing should be handled by the
application.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2 files changed