]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - board/compulab/common/eeprom.h
a9c0203b81a4c565057ec1944cf088af0ef9b39c
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2011 CompuLab, Ltd. <www.compulab.co.il>
5 * Authors: Nikita Kiryanov <nikita@compulab.co.il>
6 * Igor Grinberg <grinberg@compulab.co.il>
14 int cl_eeprom_read_mac_addr(uchar
*buf
, uint eeprom_bus
);
15 u32
cl_eeprom_get_board_rev(uint eeprom_bus
);
16 int cl_eeprom_get_product_name(uchar
*buf
, uint eeprom_bus
);
18 static inline int cl_eeprom_read_mac_addr(uchar
*buf
, uint eeprom_bus
)
22 static inline u32
cl_eeprom_get_board_rev(uint eeprom_bus
)
26 static inline int cl_eeprom_get_product_name(uchar
*buf
, uint eeprom_bus
)