patch-2.4.19 linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/eeprom_param.h
Next file: linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/flashdrv.h
Previous file: linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/dma.h
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/galileo-boards/evb64120A/eeprom_param.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -urN linux-2.4.18/include/asm-mips/galileo-boards/evb64120A/eeprom_param.h linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/eeprom_param.h
@@ -0,0 +1,53 @@
+#ifndef EEPROM_PARAM_
+#define EEPROM_PARAM_
+#define SDRAM_REGS 0xbf000000
+
+unsigned int galileo_dl(void);
+void (*boot_addr)(int argc, char **argv, char **envp);
+
+#define NETWORK_BT_BIN 0
+#define FLASH_BT 1
+#define SERIAL_BT 2
+#define NETWORK_BT_SREC 3
+
+#define LINUX_OS 0
+#define OTHER_OS 1
+
+/********************************************************************
+ *eeprom_parameters -
+ *
+ *This structure holds the eeprom parameters (usually stored on flash
+ *memory)
+ *The structure is all stored in flash memory except memory_size which
+ *is probed each boot time for the real size of memory on the
+ *evaluation board.
+ *
+ *The structure also holds information that is not used by all
+ *evaluation board, such as the eth?_mac, which holds the MAC addresses
+ *of the built in ethernet ports in the EVB96100 for example, but is
+ *never used by EVB64120A.
+ *
+ *********************************************************************/
+
+struct eeprom_parameters {
+ unsigned int boot_source;
+ unsigned int operating_system;
+
+ /* network loader parametrs */
+ unsigned int host_ip;
+ unsigned int server_ip;
+ char bootimage[64];
+
+ /* Board parameters */
+ char eth0_mac[6];
+ char eth1_mac[6];
+ char eth2_mac[6];
+ char eth3_mac[6];
+
+ /* Command Line (usually needed for Linux) */
+ char os_command_line[256];
+ unsigned int entry_point;
+ unsigned memory_size;
+};
+
+#endif /* EEPROM_PARAM_ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)