From: Andreas Schweigstill <andreas@schweigstill.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to set ethact variable ...
Date: Wed, 18 Jan 2006 15:51:46 +0100 [thread overview]
Message-ID: <43CE5602.6090801@schweigstill.de> (raw)
In-Reply-To: <20060118144540.37061.qmail@web52713.mail.yahoo.com>
Dear Yogesh!
Yogesh Patel schrieb:
> How can I set ethact variable from within u-boot ?
> I know I can use the command line "setenv ethact
> ....".
> But I want to do it in the uboot code itself.
=== snip ===
#include "common.h"
void myfunction(void)
{
setenv("ethact", "contents of ethact");
saveenv();
}
=== snip ===
Any more questions?
With best regards
Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
next prev parent reply other threads:[~2006-01-18 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-18 14:45 [U-Boot-Users] How to set ethact variable Yogesh Patel
2006-01-18 14:51 ` Andreas Schweigstill [this message]
2006-01-19 14:27 ` Andrew Wozniak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43CE5602.6090801@schweigstill.de \
--to=andreas@schweigstill.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.