env: don't set to default env twice when use CONFIG_ENV_IS_NOWHERE
authorLei Wen <leiwen@marvell.com>
Sun, 10 Oct 2010 04:36:40 +0000 (12:36 +0800)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Oct 2010 19:31:04 +0000 (21:31 +0200)
commitd259079d6d147541ddfe2e093cfa55db8e1a6cbf
tree72d6065e36084cf49dba7facd868b4c9ed6790cf
parentbe4424c73d3a0994c5fabc34900fb7101f6a7823
env: don't set to default env twice when use CONFIG_ENV_IS_NOWHERE

When use the CONFIG_ENV_IS_NOWHERE, I met such issue:

DRAM:  256 MiB
Using default environment

*** Warning - bad CRC, using default environment

Signed-off-by: Lei Wen <leiwen@marvell.com>
common/env_common.c