Home | History | Annotate | Download | only in netboot

Lines Matching refs:eeprom

80 static unsigned short	eeprom[64];
128 eectl = ioaddr + EECTL; /* EEPROM Control */
165 eeprom[i] = value;
170 printf("EEPROM contents\n");
172 printf(" %hhX%s", eeprom[i], i % 16 == 15 ? "\n" : "");
177 /* This could also be read from the EEPROM. */
411 /* Serial EEPROM section. */
414 #define EE_SHIFT_CLK 0x04 /* EEPROM shift clock. */
415 #define EE_CS 0x02 /* EEPROM chip select. */
416 #define EE_DATA_WRITE 0x08 /* EEPROM chip data in. */
419 #define EE_DATA_READ 0x10 /* EEPROM chip data out. */
422 /* The EEPROM commands include the alway-set leading bit. */
446 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */
459 /* Terminate the EEPROM access. */