20 #include <linux/types.h>
23 #include <linux/kernel.h>
24 #include <linux/string.h>
25 #include <linux/ctype.h>
27 #include <asm/addrspace.h>
34 #define EEPROM_CRC(data, len) (~crc32(~0, data, len))
42 for (i = 0; i < len; i++)
52 for (i = 0; i < len; i++)
58 static void init_flash_sizes(
void)
90 lb[i] = lb[i-1] + ls[i-1];
97 unsigned long cfg0, cfg1;
100 const char *
const * i_txt_base_models = txt_base_models;
115 "not match calculated, attempting to soldier on...\n");
120 "%d, wanted version %d, attempting to soldier on...\n",
130 "Invalid configuration read from EEPROM, attempting to "
249 if (c >= i_n_prids) {
253 ppi = &vendor_info_table[0].vi_product_info[
c];