• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/galileo-boards/evb64120A/
1#ifndef EEPROM_PARAM_
2#define EEPROM_PARAM_
3#define SDRAM_REGS 0xbf000000
4
5unsigned int galileo_dl(void);
6void (*boot_addr)(int argc, char **argv, char **envp);
7
8#define NETWORK_BT_BIN 0
9#define FLASH_BT 1
10#define SERIAL_BT 2
11#define NETWORK_BT_SREC 3
12
13#define LINUX_OS 0
14#define OTHER_OS 1
15
16/********************************************************************
17 *eeprom_parameters -
18 *
19 *This structure holds the eeprom parameters (usually stored on flash
20 *memory)
21 *The structure is all stored in flash memory except memory_size which
22 *is probed each boot time for the real size of memory on the
23 *evaluation board.
24 *
25 *The structure also holds information that is not used by all
26 *evaluation board, such as the eth?_mac, which holds the MAC addresses
27 *of the built in ethernet ports in the EVB96100 for example, but is
28 *never used by EVB64120A.
29 *
30 *********************************************************************/
31
32struct eeprom_parameters {
33  unsigned int boot_source;
34  unsigned int operating_system;
35
36  /* network loader parametrs */
37  unsigned int host_ip;
38  unsigned int server_ip;
39  char bootimage[64];
40
41  /* Board parameters */
42  char eth0_mac[6];
43  char eth1_mac[6];
44  char eth2_mac[6];
45  char eth3_mac[6];
46
47  /* Command Line (usually needed for Linux) */
48  char os_command_line[256];
49  unsigned int entry_point;
50  unsigned memory_size;
51};
52
53#endif /* EEPROM_PARAM_ */
54