diff options
author | Tom Rini <trini@ti.com> | 2014-12-11 20:47:34 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-12-11 20:47:34 -0500 |
commit | a5a58826110eb3da2956c6b3213bd750e166d75c (patch) | |
tree | 50d21157a7118c6b2b13e7763452332f2d9b51fd /include/i2c_eeprom.h | |
parent | fc9b0b80435cda721fbdbe507c9e4f388b0ea62b (diff) | |
parent | b0e6ef46405353270595ffa35c21f4334c541189 (diff) | |
download | u-boot-imx-a5a58826110eb3da2956c6b3213bd750e166d75c.zip u-boot-imx-a5a58826110eb3da2956c6b3213bd750e166d75c.tar.gz u-boot-imx-a5a58826110eb3da2956c6b3213bd750e166d75c.tar.bz2 |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/i2c_eeprom.h')
-rw-r--r-- | include/i2c_eeprom.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/i2c_eeprom.h b/include/i2c_eeprom.h new file mode 100644 index 0000000..ea6c962 --- /dev/null +++ b/include/i2c_eeprom.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2014 Google, Inc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __I2C_EEPROM +#define __I2C_EEPROM + +struct i2c_eeprom_ops { + int (*read)(struct udevice *dev, int offset, uint8_t *buf, int size); + int (*write)(struct udevice *dev, int offset, const uint8_t *buf, + int size); +}; + +struct i2c_eeprom { +}; + +#endif |