473c88f9b3
The ifpga and skeleton rawdev drivers included "rawdev" in their directory names, which was superfluous given that they were in the drivers/raw directory. Shorten the names via this patch. For meson builds, this will rename the final library .so/.a files produced, but those will be renamed again later via a patch to standardize rawdev names. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
15 lines
406 B
C
15 lines
406 B
C
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2010-2019 Intel Corporation
|
|
*/
|
|
|
|
#define AT24C512_PAGE_SIZE 128
|
|
#define AT24C512_IO_LIMIT 128
|
|
|
|
#define AT24512_SLAVE_ADDR 0x51
|
|
|
|
int at24_eeprom_read(struct altera_i2c_dev *dev, unsigned int slave_addr,
|
|
u32 offset, u8 *buf, int count);
|
|
int at24_eeprom_write(struct altera_i2c_dev *dev, unsigned int slave_addr,
|
|
u32 offset, u8 *buf, int count);
|