]> git.sur5r.net Git - u-boot/commitdiff
Merge branch 'master' of git://git.denx.de/u-boot-arm
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 15 Jan 2010 13:41:58 +0000 (22:41 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 15 Jan 2010 13:41:58 +0000 (22:41 +0900)
Conflicts:

cpu/arm_cortexa8/s5pc1xx/cache.c
include/asm-arm/arch-s5pc1xx/sys_proto.h
include/sja1000.h

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
1  2 
drivers/net/smc911x.c

index 613d9028f0edfa878e5653c33388b124b5b079bd,5d51406f6fab04a150b648dde3ec7a2e0d6bf526..d674ce2297b89e456e5d0d9e8e7725b3e80643ea
@@@ -270,12 -270,6 +270,12 @@@ int smc911x_initialize(u8 dev_num, int 
        dev->recv = smc911x_rx;
        sprintf(dev->name, "%s-%hu", DRIVERNAME, dev_num);
  
 +      /* Try to detect chip. Will fail if not present. */
 +      if (smc911x_detect_chip(dev)) {
 +              free(dev);
 +              return 0;
 +      }
 +
        eth_register(dev);
-       return 0;
+       return 1;
  }