Hello Teh Kok How, On Thu, Feb 11, 2010 at 10:57 PM, Teh Kok How <kh...@smartbridges.com>wrote:
> No, it is a bug. Board_eth_init() calls pci_eth_init() (include/netdev.h) > and if ethernet is soc, CONFIG_PCI is not defined, pci_eth_init() returns > 0. > This patch allows cpu_eth_init() to be called. > > Sorry, still not a bug. The behavior you've described should be handled internally to your specific board_eth_init() function. If no PCI devices are found either because none are present or because you didn't specify the CONFIG_PCI option, you can call cpu_eth_init(). regards, Ben
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot