From: Ben Warren Date: Thu, 26 Oct 2006 16:09:56 -0400 Subject: [U-Boot-Users] [PATCH] Added ETHPRIME to default_environment Message-ID: <1161893396.23153.4.camel@saruman.qstreams.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch adds the ETHPRIME option to the default_environment list. It not being there prevented CONFIG_ETHPRIME from working on a newly flashed board. The lists in 'common/env_common.c' and 'common/environment.c' are now synchronized. Signed-off-by: Ben Warren --- common/env_common.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/env_common.c b/common/env_common.c index eb33422..5f91851 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -99,6 +99,9 @@ #endif #ifdef CONFIG_ETH3ADDR "eth3addr=" MK_STR(CONFIG_ETH3ADDR) "\0" #endif +#ifdef CONFIG_ETHPRIME + "ethprime=" CONFIG_ETHPRIME "\0" +#endif #ifdef CONFIG_IPADDR "ipaddr=" MK_STR(CONFIG_IPADDR) "\0" #endif @@ -108,9 +111,6 @@ #endif #ifdef CFG_AUTOLOAD "autoload=" CFG_AUTOLOAD "\0" #endif -#ifdef CONFIG_PREBOOT - "preboot=" CONFIG_PREBOOT "\0" -#endif #ifdef CONFIG_ROOTPATH "rootpath=" MK_STR(CONFIG_ROOTPATH) "\0" #endif @@ -129,6 +129,9 @@ #endif #ifdef CONFIG_LOADADDR "loadaddr=" MK_STR(CONFIG_LOADADDR) "\0" #endif +#ifdef CONFIG_PREBOOT + "preboot=" CONFIG_PREBOOT "\0" +#endif #ifdef CONFIG_CLOCKS_IN_MHZ "clocks_in_mhz=1\0" #endif -- 1.4.1