From: Timur Tabi Date: Wed, 9 Feb 2011 19:40:51 +0000 (-0600) Subject: fsl: update CRC after setting EEPROM identifier X-Git-Tag: v2011.03-rc2~93^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fee334c85fd16904f8d23487247508cceab0228;p=u-boot fsl: update CRC after setting EEPROM identifier The "mac id" command is used to initialize the EEPROM data to a specific format, but it was not updating the CRC. This didn't cause any real problems, because writing the data to the EEPROM will always update the CRC anyway, but it did result in a bogus CRC warning. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala --- diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c index 11dfd84fe6..3ecfb06cc8 100644 --- a/board/freescale/common/sys_eeprom.c +++ b/board/freescale/common/sys_eeprom.c @@ -361,6 +361,7 @@ int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) #else memcpy(e.id, "CCID", sizeof(e.id)); #endif + update_crc(); return 0; }