[U-Boot-Users] [PATCH] Added ETHPRIME to default_environment

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 bwarren@qstreams.com --- 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

Dear Ben,
in message 1161893396.23153.4.camel@saruman.qstreams.net you wrote:
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 bwarren@qstreams.com
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
...
Sorry, but this patch has been corrupted by your mailer.
Please resubmit after making sure your mailer doesn';t do such reformatting.
Best regards,
Wolfgang Denk

Second try - as attachment this time.
This patch adds the ETHPRIME option to the default_environment list. Its absence 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 bwarren@qstreams.com
participants (2)
-
Ben Warren
-
Wolfgang Denk