Skip to content
Snippets Groups Projects
Commit f92994f0 authored by Vipin KUMAR's avatar Vipin KUMAR Committed by Tom Rix
Browse files

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: default avatarVipin <vipin.kumar@st.com>
parent 566c9c16
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment