summaryrefslogtreecommitdiff
path: root/board/amcc/taihu/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amcc/taihu/update.c')
-rw-r--r--board/amcc/taihu/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amcc/taihu/update.c b/board/amcc/taihu/update.c
index 55ad535..52bad56 100644
--- a/board/amcc/taihu/update.c
+++ b/board/amcc/taihu/update.c
@@ -101,7 +101,7 @@ static uchar buf_66[] =
static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[])
{
ulong len = 0x20;
- uchar chip = CFG_I2C_EEPROM_ADDR;
+ uchar chip = CONFIG_SYS_I2C_EEPROM_ADDR;
uchar *pbuf;
uchar base;
int i;