aboutsummaryrefslogtreecommitdiffstats
path: root/board/compulab/common/eeprom.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2024-08-07 15:09:33 +0200
committerHeiko Schocher <hs@denx.de>2024-08-09 06:26:35 +0200
commit3b3421771eba3657beafe3fc9f4a0da827cce356 (patch)
tree3aae1c0330a63e08fb420c69d8ac31f5f6c8ec95 /board/compulab/common/eeprom.h
parentf1aacad168e9deeead03315b04b69023f6d86a96 (diff)
downloadu-boot-3b3421771eba3657beafe3fc9f4a0da827cce356.tar.gz
board: cm_fx6: convert to DM_I2C
Conversion to DM_I2C is mandatory, enable DM_I2C to fix board removal warning. Convert EEPROM access to use DM_I2C API. Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/compulab/common/eeprom.h')
-rw-r--r--board/compulab/common/eeprom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/common/eeprom.h b/board/compulab/common/eeprom.h
index 9bd7604a999..0a44926ebd1 100644
--- a/board/compulab/common/eeprom.h
+++ b/board/compulab/common/eeprom.h
@@ -10,7 +10,7 @@
#define _EEPROM_
#include <errno.h>
-#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
+#if !CONFIG_IS_ENABLED(TARGET_TRIMSLICE)
int cl_eeprom_read_mac_addr(uchar *buf, uint eeprom_bus);
u32 cl_eeprom_get_board_rev(uint eeprom_bus);
int cl_eeprom_get_product_name(uchar *buf, uint eeprom_bus);