Skip to contentSkip to conversation

Added ETHPRIME to default_environment

PATCH New Ben Warren 2 participants 3 messages Oct 26, 2006

lore
Share & tools
lore

Ben Warren

author
#0 lore raw

PATCH 1/1 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.

---
common/env_common.c | 9 ++++++---

1 files changed, 6 insertions(+), 3 deletions(-)
common/env_common.c +0 -0
index eb33422..5f91851 100644
@@ -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

Signature · 1 line
1.4.1
#1 lore raw

PATCH 1/1 Added ETHPRIME to default_environment

Dear Ben,

Quoted 18 lines · in message <[email protected]> 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.

---
common/env_common.c | 9 ++++++---

1 files changed, 6 insertions(+), 3 deletions(-)
common/env_common.c +0 -0
index eb33422..5f91851 100644
@@ -99,6 +99,9 @@ #endif
 #ifdef CONFIG_ETH3ADDR

"eth3addr=" MK_STR(CONFIG_ETH3ADDR) "\0"
#endif

common/env_common.c

Quoted 3 lines
common/env_common.c +3 -0
+#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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I think animal testing is a terrible idea; they get all  nervous  and
give the wrong answers.
author
#2 lore raw

PATCH 1/1 Added ETHPRIME to default_environment

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethprime.patch
Type: text/x-patch
Size: 942 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061026/66c72c7d/attachment.bin