From 3fee334c85fd16904f8d23487247508cceab0228 Mon Sep 17 00:00:00 2001 From: Timur Tabi Date: Wed, 9 Feb 2011 13:40:51 -0600 Subject: [PATCH] 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 --- board/freescale/common/sys_eeprom.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1