]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Bring PELE-related changes to the tree.
authorWojciech A. Koszek <wojciech.koszek@xilinx.com>
Tue, 6 Apr 2010 02:21:16 +0000 (19:21 -0700)
committerWojciech A. Koszek <wojciech.koszek@xilinx.com>
Tue, 6 Apr 2010 02:21:16 +0000 (19:21 -0700)
These seem necessary (?).

I've tried both setenv, _ENV and CONFIG_IPADDR ... and there
apparently is a difference.

common/main.c

index 10d8904170b2709ccc0d96d3d6e17698945c036e..78cb17139e46b497036287f0ef5e37e3e34751ab 100644 (file)
@@ -338,6 +338,16 @@ void main_loop (void)
        }
 #endif /* CONFIG_VERSION_VARIABLE */
 
+#ifdef CONFIG_PELE_IP_ENV
+       setenv("ipaddr","10.10.70.102");
+       setenv("ethaddr","00350a000122");
+       setenv("serverip", "10.10.70.101");
+#endif
+
+#ifdef CONFIG_PELE_INIT_GEM
+       eth_init(gd->bd);
+#endif
+
 #ifdef CONFIG_SYS_HUSH_PARSER
        u_boot_hush_start ();
 #endif