summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2010-08-02 13:03:23 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-07 09:49:47 -0500
commit3addcb9343dbf1d9c8465210a887180edc326270 (patch)
tree466328c6511423fbe4dcbe54b75502fe3363f11c /include
parenta2d12f88129a0a1a7c18630b7a48ade22a48416e (diff)
downloadu-boot-imx-3addcb9343dbf1d9c8465210a887180edc326270.zip
u-boot-imx-3addcb9343dbf1d9c8465210a887180edc326270.tar.gz
u-boot-imx-3addcb9343dbf1d9c8465210a887180edc326270.tar.bz2
fsl: verify writes to the MAC address EEPROM
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@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions