diff options
author | Enrico Leto | 2024-01-24 15:43:49 +0100 |
---|---|---|
committer | Tom Rini | 2024-02-05 13:32:48 -0500 |
commit | 5ae54613ebb7b926ea09e8f145d9a40a85d6480e (patch) | |
tree | ddd4d73a411912efe81bee2177723f898cbeea79 /board/siemens/capricorn/board.c | |
parent | 9152a51e3c3af8cd766dfaad50aa5bb97678378c (diff) |
siemens: eeprom: clean up definitions
Move the I2C and EEPROM address definitions in common board header.
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Enrico Leto <enrico.leto@siemens.com>
Diffstat (limited to 'board/siemens/capricorn/board.c')
-rw-r--r-- | board/siemens/capricorn/board.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c index 924c88e8fab..5f7e2b1e899 100644 --- a/board/siemens/capricorn/board.c +++ b/board/siemens/capricorn/board.c @@ -28,6 +28,7 @@ #include <asm/arch-imx8/clock.h> #endif #include <linux/delay.h> +#include "../common/eeprom.h" #include "../common/factoryset.h" #define GPIO_PAD_CTRL \ @@ -337,13 +338,11 @@ void board_late_mmc_env_init(void) } #ifndef CONFIG_SPL_BUILD -int factoryset_read_eeprom(int i2c_addr); - static int load_parameters_from_factoryset(void) { int ret; - ret = factoryset_read_eeprom(EEPROM_I2C_ADDR); + ret = factoryset_read_eeprom(SIEMENS_EE_I2C_ADDR); if (ret) return ret; |