mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
20 lines
340 B
C
20 lines
340 B
C
|
/*
|
||
|
* 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
|