2 * Copyright (c) 2014 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
10 struct i2c_eeprom_ops {
11 int (*read)(struct udevice *dev, int offset, uint8_t *buf, int size);
12 int (*write)(struct udevice *dev, int offset, const uint8_t *buf,
17 /* The EEPROM's page size in byte */
18 unsigned long pagesize;
19 /* The EEPROM's page width in bits (pagesize = 2^pagewidth) */