[LinuxBIOS] r2447 - in trunk/LinuxBIOSv2/src: config lib stream

Segher Boessenkool segher at kernel.crashing.org
Sat Oct 7 15:26:29 CEST 2006


> +/* CRC16 implementation acording to CCITT standards */
> +
> +static const unsigned short crc16tab[256]= {
> +	0x0000,0x1021,0x2042,0x3063,0x4084,0x50a5,0x60c6,0x70e7,

This table isn't needed, a UART stream is so slow that you can
just as well open-code the CRC algorithm and lose nothing (except
for 512 bytes of table :-) )


Segher





More information about the coreboot mailing list