]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/amcc/taihu/update.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / amcc / taihu / update.c
index 8e969056cc97d973c51a50920f66ca166d86057c..b87eac4a1b27976154f349500b986498d77b01b9 100644 (file)
@@ -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;
@@ -128,5 +128,5 @@ static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[]
 U_BOOT_CMD (
        update_boot_eeprom, 1, 1, update_boot_eeprom,
        "update boot eeprom content",
-       NULL
-       );
+       ""
+);