Searched refs:CONFIG_SYS_I2C_EEPROM_BUS (Results 1 – 21 of 21) sorted by relevance
128 #if defined(CONFIG_DM_I2C) && defined(CONFIG_SYS_I2C_EEPROM_BUS) in eeprom_rw_block()131 ret = i2c_get_chip_for_busnum(CONFIG_SYS_I2C_EEPROM_BUS, addr[0], in eeprom_rw_block()135 CONFIG_SYS_I2C_EEPROM_BUS); in eeprom_rw_block()145 #if defined(CONFIG_SYS_I2C_EEPROM_BUS) in eeprom_rw_block()146 i2c_set_bus_num(CONFIG_SYS_I2C_EEPROM_BUS); in eeprom_rw_block()
107 return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS); in get_board_rev()175 ret = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); in cm_t3517_handle_mac_address()
23 #ifndef CONFIG_SYS_I2C_EEPROM_BUS24 #define CONFIG_SYS_I2C_EEPROM_BUS 0 macro93 if (cl_eeprom_setup(CONFIG_SYS_I2C_EEPROM_BUS)) in get_board_serial()
23 #define CONFIG_SYS_I2C_EEPROM_BUS 0 macro
49 #define CONFIG_SYS_I2C_EEPROM_BUS 3 macro
90 #define CONFIG_SYS_I2C_EEPROM_BUS 0 macro
74 #define CONFIG_SYS_I2C_EEPROM_BUS 1 macro
85 #define CONFIG_SYS_I2C_EEPROM_BUS 0 macro
67 #define CONFIG_SYS_I2C_EEPROM_BUS 2 macro
54 #define CONFIG_SYS_I2C_EEPROM_BUS SYS_I2C_BUS_SOM macro
78 #define CONFIG_SYS_I2C_EEPROM_BUS 0 macro
195 #define CONFIG_SYS_I2C_EEPROM_BUS 2 macro
83 #define CONFIG_SYS_I2C_EEPROM_BUS 2 macro
65 return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS); in get_board_rev()
102 ret = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); in cl_som_am57x_handle_mac_address()
113 rv = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); in handle_mac_address()
168 ret = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); in handle_mac_address()
202 cl_som_imx7_handle_mac_address("ethaddr", CONFIG_SYS_I2C_EEPROM_BUS); in board_eth_init()
457 if (handle_mac_address("ethaddr", CONFIG_SYS_I2C_EEPROM_BUS)) in board_eth_init()716 return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS); in get_board_rev()
108 return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS); in get_board_rev()441 rc = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); in handle_mac_address()