add spi flash test function for arm

This commit is contained in:
Liu_Weichao
2021-05-19 16:15:42 +08:00
parent 86d96159fe
commit f48da2b6f9
20 changed files with 272 additions and 61 deletions
@@ -607,10 +607,10 @@ out:
/*manage the i2c device operations*/
static const struct I2cDevDone i2c_dev_done =
{
.open = NONE,
.close = NONE,
.write = I2cWriteData,
.read = I2cReadData,
.dev_open = NONE,
.dev_close = NONE,
.dev_write = I2cWriteData,
.dev_read = I2cReadData,
};
/*Init i2c bus*/