From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Sun, 31 Jan 2010 21:15:25 -0800 Subject: [U-Boot] [PATCH v5 08/12] SPEAr : Support for HW mac id read/write from i2c mem In-Reply-To: <1263563153-408-9-git-send-email-vipin.kumar@st.com> References: <1263563153-408-1-git-send-email-vipin.kumar@st.com> <1263563153-408-2-git-send-email-vipin.kumar@st.com> <1263563153-408-3-git-send-email-vipin.kumar@st.com> <1263563153-408-4-git-send-email-vipin.kumar@st.com> <1263563153-408-5-git-send-email-vipin.kumar@st.com> <1263563153-408-6-git-send-email-vipin.kumar@st.com> <1263563153-408-7-git-send-email-vipin.kumar@st.com> <1263563153-408-8-git-send-email-vipin.kumar@st.com> <1263563153-408-9-git-send-email-vipin.kumar@st.com> Message-ID: <4B66636D.9060905@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tom, Vipin KUMAR wrote: > 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 > Acked-by: Ben Warren > --- > board/spear/common/spr_misc.c | 68 ++++++++++++++++++++++++++++++++- > include/asm-arm/arch-spear/spr_defs.h | 8 ++++ > 2 files changed, 75 insertions(+), 1 deletions(-) > I think I told WD I'd apply this, but am unable to do so without all the other SPEAr patches. Please include it in your set. regards, Ben