projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix incorrect use of getenv() before relocation
[oweals/u-boot.git]
/
board
/
amcc
/
taihu
/
update.c
diff --git
a/board/amcc/taihu/update.c
b/board/amcc/taihu/update.c
index f9c31b3927b4eefd503d03edf200889a4b22184a..b87eac4a1b27976154f349500b986498d77b01b9 100644
(file)
--- a/
board/amcc/taihu/update.c
+++ b/
board/amcc/taihu/update.c
@@
-98,7
+98,7
@@
static uchar buf_66[] =
0x00
};
-static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[])
+static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *
const
argv[])
{
ulong len = 0x20;
uchar chip = CONFIG_SYS_I2C_EEPROM_ADDR;