forked from auracaster/openocd
split flash.h into into flash/nor/*.h
Move the bulk of the flash.h file into flash/nor/core.h, leaving an empty husk that will be removed in the next patch. The NOR driver structure is an implementation detail, so move it into its own private header file <flash/nor/driver.h> along with helper declaration for finding them by name.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
// this is an internal header
|
||||
#include "core.h"
|
||||
#include "driver.h"
|
||||
// common flash internals
|
||||
#include <flash/common.h>
|
||||
// almost all drivers will need this file
|
||||
|
||||
Reference in New Issue
Block a user