km83xx: use CONFIG_ENV_ADDR for the newenv env command
authorValentin Longchamp <valentin.longchamp@keymile.com>
Tue, 17 Nov 2015 09:53:35 +0000 (10:53 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:57 +0000 (15:28 -0500)
commit68005ea655128a76ceb21c5802dbb64cce1b00ae
tree9658586de2356f71ee9f42b50cbca1e1b5043df2
parentcd7255fdc2f032a67369869a7aa26d3f9ad38b21
km83xx: use CONFIG_ENV_ADDR for the newenv env command

The hardcoded value are bad, since the address could change between
different boards.

Furthermore, the relevant #defines are set only if #undefined here, so
that they can be changed by some boards if required.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
include/configs/km/km83xx-common.h