]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/spl/spl_net.c
JFFS2: Speed up and fix comparison functions
[karo-tx-uboot.git] / common / spl / spl_net.c
index ff53705926ace68ec37d001b942090303d077ca4..217a435c730d935e8389f866c7c17ae28149bf88 100644 (file)
@@ -21,14 +21,14 @@ void spl_net_load_image(const char *device)
        env_relocate();
        setenv("autoload", "yes");
        load_addr = CONFIG_SYS_TEXT_BASE - sizeof(struct image_header);
-       rv = eth_initialize(gd->bd);
+       rv = eth_initialize();
        if (rv == 0) {
                printf("No Ethernet devices found\n");
                hang();
        }
        if (device)
                setenv("ethact", device);
-       rv = NetLoop(BOOTP);
+       rv = net_loop(BOOTP);
        if (rv < 0) {
                printf("Problem booting with BOOTP\n");
                hang();