Update set_working_fdt_addr() to use setenv_addr()
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 17:33:21 +0000 (17:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:23 +0000 (19:09 -0800)
commitbfc59966431e6335fd5be0589eec073902cc7bb3
tree34674e10d633b07c11c5e715bc0779023346f5fd
parent8c86bbe00f927de0655a65e43344ca0678d1bc34
Update set_working_fdt_addr() to use setenv_addr()

We might as well use this common function instead of repeating the same
code.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_fdt.c
common/cmd_nvedit.c
include/common.h