[U-Boot-Users] DYNAMIC_CRC_TABLE ????
robdlg at att.net
Tue Apr 15 10:53:57 CEST 2003
On Tuesday, April 15, 2003 1:21 AM, Steven Scholz [SMTP:steven.scholz at imc-berlin.de] wrote:
> The file crc32.c contains some #ifdef DYNAMIC_CRC_TABLE .
> What's the purpose of that?
> Are there any advantages of defining that?
That directive enables one to create the crc_table array at run time, rather than compiling it into
One advantage of doing this is that it reduces the size of the code; only the function used to generate
the table needs to be stored in non-volatile memory, rather than the entire table (for a 32-bit long, the
table will occupy 1 kilobyte of memory).
More information about the U-Boot