move common flash code to flash.c

This commit is contained in:
Ralph Metzler
2016-10-24 15:15:09 +02:00
parent 26eedb3d26
commit 101289c77e
6 changed files with 642 additions and 1087 deletions

View File

@@ -61,3 +61,5 @@ struct ddb_i2c_msg {
#define IOCTL_DDB_WRITE_MDIO _IOR(DDB_MAGIC, 0x09, struct ddb_mdio)
#define IOCTL_DDB_READ_I2C _IOWR(DDB_MAGIC, 0x0a, struct ddb_i2c_msg)
#define IOCTL_DDB_WRITE_I2C _IOR(DDB_MAGIC, 0x0b, struct ddb_i2c_msg)
#include "flash.c"