summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-08-10 07:45:31 +0000
committerTom Rini <trini@ti.com>2012-09-18 12:01:51 -0700
commit84209afb87d10300a326589b5ce6e9e56bd5195b (patch)
tree206ae9a85144c2242707445d05193197397d337e
parent4796bc4bbc895c4ee045e4299daa04beb096cbb6 (diff)
downloadu-boot-84209afb87d10300a326589b5ce6e9e56bd5195b.tar.gz
u-boot-84209afb87d10300a326589b5ce6e9e56bd5195b.tar.bz2
u-boot-84209afb87d10300a326589b5ce6e9e56bd5195b.zip
env_common: Add missing ethprime
The ethprime env var was missing from env_common. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-rw-r--r--common/env_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/env_common.c b/common/env_common.c
index d9e990dbbe..911a6afd1b 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -80,6 +80,9 @@ const uchar default_environment[] = {
#ifdef CONFIG_ETH5ADDR
"eth5addr=" MK_STR(CONFIG_ETH5ADDR) "\0"
#endif
+#ifdef CONFIG_ETHPRIME
+ "ethprime=" CONFIG_ETHPRIME "\0"
+#endif
#ifdef CONFIG_IPADDR
"ipaddr=" MK_STR(CONFIG_IPADDR) "\0"
#endif