Searched refs:eeprom_bus (Results 1 – 4 of 4) sorted by relevance
/u-boot/board/compulab/common/ |
A D | eeprom.h | 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) 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
|
A D | eeprom.c | 61 static int cl_eeprom_setup(uint eeprom_bus) in cl_eeprom_setup() argument 69 if (cl_eeprom_layout != LAYOUT_INVALID && eeprom_bus == cl_eeprom_bus) in cl_eeprom_setup() 72 cl_eeprom_bus = eeprom_bus; in cl_eeprom_setup() 112 int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus) in cl_eeprom_read_mac_addr() argument 117 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_read_mac_addr() 133 u32 cl_eeprom_get_board_rev(uint eeprom_bus) in cl_eeprom_get_board_rev() argument 141 if (cl_eeprom_setup(eeprom_bus)) in cl_eeprom_get_board_rev() 171 int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus) in cl_eeprom_get_product_name() argument 178 err = cl_eeprom_setup(eeprom_bus); in cl_eeprom_get_product_name()
|
/u-boot/board/compulab/cl-som-imx7/ |
A D | cl-som-imx7.c | 181 static int cl_som_imx7_handle_mac_address(char *env_var, uint eeprom_bus) in cl_som_imx7_handle_mac_address() argument 190 ret = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in cl_som_imx7_handle_mac_address()
|
/u-boot/board/compulab/cm_fx6/ |
A D | cm_fx6.c | 441 static int handle_mac_address(char *env_var, uint eeprom_bus) in handle_mac_address() argument 450 rc = cl_eeprom_read_mac_addr(enetaddr, eeprom_bus); in handle_mac_address()
|
Completed in 6 milliseconds