[U-Boot] [PATCH] fsl: verify writes to the MAC address EEPROM
Kumar Gala
kumar.gala at freescale.com
Thu Sep 30 15:35:50 CEST 2010
On Aug 2, 2010, at 1:03 PM, Timur Tabi wrote:
> Update the code which writes to the on-board EEPROM so that it can detect if
> the write failed because the EEPROM is write-protected. Most of the 8xxx-class
> Freescale reference boards use an AT24C02 EEPROM to store MAC addresses and
> similar information. With this patch, if the EEPROM is protected, the
> "mac save" command will display an error message indicating that the write
> has not succeeded.
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> board/freescale/common/sys_eeprom.c | 18 +++++++++++++++++-
> 1 files changed, 17 insertions(+), 1 deletions(-)
applied to 85xx
- k
More information about the U-Boot
mailing list