2 /* SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2010-2019 Intel Corporation
6 #define AT24C512_PAGE_SIZE 128
7 #define AT24C512_IO_LIMIT 128
9 #define AT24512_SLAVE_ADDR 0x51
11 int at24_eeprom_read(struct altera_i2c_dev *dev, unsigned int slave_addr,
12 u32 offset, u8 *buf, int count);
13 int at24_eeprom_write(struct altera_i2c_dev *dev, unsigned int slave_addr,
14 u32 offset, u8 *buf, int count);