4 * Copyright (C) 2007 OpenWrt.org
5 * Copyright (C) 2007 Gabor Juhos <juhosg@freemail.hu>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
20 #define RB_MAGIC_HARD 0x64726148 /* "Hard" */
21 #define RB_MAGIC_SOFT 0x74666F53 /* "Soft" */
22 #define RB_MAGIC_DAWN 0x6E776144 /* "Dawn" */
24 #define RB_ID_TERMINATOR 0
27 * ID values for Hardware settings
29 #define RB_ID_HARD_01 1
30 #define RB_ID_HARD_02 2
31 #define RB_ID_FLASH_INFO 3
32 #define RB_ID_MAC_ADDRESS_PACK 4
33 #define RB_ID_BOARD_NAME 5
34 #define RB_ID_BIOS_VERSION 6
35 #define RB_ID_HARD_07 7
36 #define RB_ID_SDRAM_TIMINGS 8
37 #define RB_ID_DEVICE_TIMINGS 9
38 #define RB_ID_SOFTWARE_ID 10
39 #define RB_ID_SERIAL_NUMBER 11
40 #define RB_ID_HARD_12 12
41 #define RB_ID_MEMORY_SIZE 13
42 #define RB_ID_MAC_ADDRESS_COUNT 14
45 * ID values for Software settings
47 #define RB_ID_UART_SPEED 1
48 #define RB_ID_BOOT_DELAY 2
49 #define RB_ID_BOOT_DEVICE 3
50 #define RB_ID_BOOT_KEY 4
51 #define RB_ID_CPU_MODE 5
52 #define RB_ID_FW_VERSION 6
53 #define RB_ID_SOFT_07 7
54 #define RB_ID_SOFT_08 8
55 #define RB_ID_BOOT_PROTOCOL 9
56 #define RB_ID_SOFT_10 10
57 #define RB_ID_SOFT_11 11
62 #define RB_UART_SPEED_115200 0
63 #define RB_UART_SPEED_57600 1
64 #define RB_UART_SPEED_38400 2
65 #define RB_UART_SPEED_19200 3
66 #define RB_UART_SPEED_9600 4
67 #define RB_UART_SPEED_4800 5
68 #define RB_UART_SPEED_2400 6
69 #define RB_UART_SPEED_1200 7
74 #define RB_BOOT_DELAY_0SEC 0
75 #define RB_BOOT_DELAY_1SEC 1
76 #define RB_BOOT_DELAY_2SEC 2
81 #define RB_BOOT_DEVICE_ETHER 0
82 #define RB_BOOT_DEVICE_NANDETH 1
83 #define RB_BOOT_DEVICE_ETHONCE 2
84 #define RB_BOOT_DEVICE_NANDONLY 3
89 #define RB_BOOT_KEY_ANY 0
90 #define RB_BOOT_KEY_DEL 1
95 #define RB_CPU_MODE_POWERSAVE 0
96 #define RB_CPU_MODE_REGULAR 1
99 * BOOT_PROTOCOL values
101 #define RB_BOOT_PROTOCOL_BOOTP 0
102 #define RB_BOOT_PROTOCOL_DHCP 1
104 #endif /* _ROUTERBOOT_H */
This page took 0.047707 seconds and 5 git commands to generate.