[U-Boot] [PATCH v2] NET: add ENC28J60 driver using SPI framework

Reinhard Meyer u-boot at emk-elektronik.de
Wed Sep 8 21:54:09 CEST 2010


Dear Wolfgang Denk,
> Yes, error handling blows up the code. But it helpos a lot to make
> programs reliable and robust.

Of course I will add that.

And in theory it could help.
In reality no SPI drivers check for conflicting
claims - and therefore notoriously return ZERO.

A nice example:

int spi_claim_bus(struct spi_slave *slave)
{
	return 0;
}

I know... patches welcome ;)

Reinhard


More information about the U-Boot mailing list