diff options
author | Vipin KUMAR <vipin.kumar@st.com> | 2010-01-15 19:15:49 +0530 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-01-23 08:15:49 -0600 |
commit | f92994f0f7403b84366ce04e554e461f624e6868 (patch) | |
tree | 7c5da7e375042f3bad37acff3216bd0b445a2e48 /board/scb9328/flash.c | |
parent | 566c9c16fe4e501c3193ae6605bc9c663c6ea706 (diff) | |
download | u-boot-imx-f92994f0f7403b84366ce04e554e461f624e6868.zip u-boot-imx-f92994f0f7403b84366ce04e554e461f624e6868.tar.gz u-boot-imx-f92994f0f7403b84366ce04e554e461f624e6868.tar.bz2 |
SPEAr : Support for HW mac id read/write from i2c mem
This patch adds the support to read and write mac id from i2c
memory.
For reading:
if (env contains ethaddr)
pick env ethaddr
else
pick ethaddr from i2c memory
For writing:
chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id
in i2c memory
Signed-off-by: Vipin <vipin.kumar@st.com>
Diffstat (limited to 'board/scb9328/flash.c')
0 files changed, 0 insertions, 0 deletions