Home
last modified time | relevance | path

Searched refs:eeprom_bus (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/board/compulab/common/
H A Deeprom.h14 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) in cl_eeprom_read_mac_addr() argument
22 static inline u32 cl_eeprom_get_board_rev(uint eeprom_bus) in cl_eeprom_get_board_rev() argument
26 static inline int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name() argument
H A Deeprom.c60 static int cl_eeprom_setup(uint eeprom_bus) in cl_eeprom_setup() argument
68 if (cl_eeprom_layout != LAYOUT_INVALID && eeprom_bus == cl_eeprom_bus) in cl_eeprom_setup()
71 cl_eeprom_bus = eeprom_bus; in cl_eeprom_setup()
111 int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus) in cl_eeprom_read_mac_addr() argument
116 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_read_mac_addr()
132 u32 cl_eeprom_get_board_rev(uint eeprom_bus) in cl_eeprom_get_board_rev() argument
140 if (cl_eeprom_setup(eeprom_bus)) in cl_eeprom_get_board_rev()
170 int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name() argument
177 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_get_product_name()
/openbmc/u-boot/board/compulab/cl-som-imx7/
H A Dcl-som-imx7.c177 static int cl_som_imx7_handle_mac_address(char *env_var, uint eeprom_bus) in cl_som_imx7_handle_mac_address() argument
186 ret = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in cl_som_imx7_handle_mac_address()
/openbmc/u-boot/board/compulab/cm_fx6/
H A Dcm_fx6.c432 static int handle_mac_address(char *env_var, uint eeprom_bus) in handle_mac_address() argument
441 rc = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in handle_mac_address()