diff options
| author | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 22:04:37 -0800 |
|---|---|---|
| committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 22:26:25 -0800 |
| commit | 899c9975e750ff0144d4a4f63e0f2a619c0b0e58 (patch) | |
| tree | eea5ec7dc7287ef258b7a79caaf56749c2df2aab /src/flash/nand/imp.h | |
| parent | da3bcb392e852214b0dda878f6161c8f1e8d15f3 (diff) | |
| download | openocd_libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.gz openocd_libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.bz2 openocd_libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.tar.xz openocd_libswd-899c9975e750ff0144d4a4f63e0f2a619c0b0e58.zip | |
rename nand.h to flash//nand/core.h
Rename nand.h as flash/nand/core.h, chase consumers. The public APIs
need to be sorted out with imp.h, but this allows other changes to
begin improving the separation between policy and mechanism.
Moves #include <target/target.h> and #include "driver.h" into the
internal headers or source files, removing it from <flash/nand/core.h>.
Diffstat (limited to 'src/flash/nand/imp.h')
| -rw-r--r-- | src/flash/nand/imp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nand/imp.h b/src/flash/nand/imp.h index b381b538..e0d411fa 100644 --- a/src/flash/nand/imp.h +++ b/src/flash/nand/imp.h @@ -19,6 +19,9 @@ #ifndef FLASH_NAND_IMP_H #define FLASH_NAND_IMP_H +#include "core.h" +#include "driver.h" + int nand_write_page(struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size); |
