]> git.sur5r.net Git - u-boot/commit
davinci: cleanup davinci_sync_env_enetaddr() fucntion
authorHadli, Manjunath <manjunath.hadli@ti.com>
Thu, 9 Feb 2012 19:52:38 +0000 (19:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commit826e99136e2bce61f3f6572e32d7aa724c116e6d
treec7d71391330d4dc8885085a59909e1c3800e9d27
parentfa34f6b25b3c92f27b245c52378a0d2af24aaa19
davinci: cleanup davinci_sync_env_enetaddr() fucntion

check for the return status for eth_getenv_enetaddr_by_index()
and eth_setenv_enetaddr() functions and print appropriate message
on failure.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Tom Rini <trini@ti.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/arm/cpu/arm926ejs/davinci/misc.c