summaryrefslogtreecommitdiff
path: root/board/siemens/common/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/siemens/common/board.c')
-rw-r--r--board/siemens/common/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c
index 1bdf404ac3e..56283660d37 100644
--- a/board/siemens/common/board.c
+++ b/board/siemens/common/board.c
@@ -70,6 +70,7 @@ void sdram_init(void)
#endif /* #ifdef CONFIG_SPL_BUILD */
#ifndef CONFIG_SPL_BUILD
+#define FACTORYSET_EEPROM_ADDR 0x50
/*
* Basic board specific setup. Pinmux has been handled already.
*/
@@ -87,7 +88,7 @@ int board_init(void)
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
#ifdef CONFIG_FACTORYSET
- factoryset_read_eeprom(CONFIG_SYS_I2C_EEPROM_ADDR);
+ factoryset_read_eeprom(FACTORYSET_EEPROM_ADDR);
#endif
gpmc_init();