summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-11-06 17:01:25 -0800
committermattis fjallstrom <mattis@acm.org>2015-11-06 17:01:25 -0800
commit228cedda31501e90a6c36a3bb260ef5595c6207d (patch)
treef253588d84e928f6c2eb0f4d48a33b1dc57d542f
parentee87ec4d2c955c929a4c27ce8a56f918444cf955 (diff)
downloadolio-uboot-2014.01-228cedda31501e90a6c36a3bb260ef5595c6207d.tar.xz
olio-uboot-2014.01-228cedda31501e90a6c36a3bb260ef5595c6207d.zip
Changed fastboot id from hardcoded number to ipaddress read from environment.
Change-Id: Ib30b379748f72565df5526d8a0122c5e03e99627
-rw-r--r--common/cmd_fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c
index 4ccf9af86..698f17889 100644
--- a/common/cmd_fastboot.c
+++ b/common/cmd_fastboot.c
@@ -55,7 +55,7 @@ DECLARE_GLOBAL_DATA_PTR;
static void set_serial_number(void)
{
/* use ethaddr for fastboot serial no. */
- char *ethaddr = "123456789012345678901234567890";/*getenv("ethaddr");*/
+ char *ethaddr = getenv ("ipaddress"); /* "123456789012345678901234567890"; *//*getenv("ethaddr");*/
if (ethaddr != NULL) {
int len;