ar71xx: add kmod-usb-ohci module for the WNDR3700 profile
[openwrt.git] / target / linux / adm5120 / image / lzma-loader / src / config.h
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
3
4 #define FLASH_2M (2<<20)
5 #define FLASH_4M (4<<20)
6
7 /*
8 * Cellvision/SparkLAN boards
9 */
10
11 #if defined(CONFIG_BOARD_CAS630)
12 # define CONFIG_BOARD_NAME "CAS-630"
13 # define CONFIG_FLASH_SIZE FLASH_4M
14 #endif
15
16 #if defined(CONFIG_BOARD_CAS670)
17 # define CONFIG_BOARD_NAME "CAS-670"
18 # define CONFIG_FLASH_SIZE FLASH_4M
19 #endif
20
21 #if defined(CONFIG_BOARD_CAS700)
22 # define CONFIG_BOARD_NAME "CAS-700"
23 # define CONFIG_FLASH_SIZE FLASH_4M
24 #endif
25
26 #if defined(CONFIG_BOARD_CAS790)
27 # define CONFIG_BOARD_NAME "CAS-790"
28 # define CONFIG_FLASH_SIZE FLASH_4M
29 #endif
30
31 #if defined(CONFIG_BOARD_CAS771)
32 # define CONFIG_BOARD_NAME "CAS-771"
33 # define CONFIG_FLASH_SIZE FLASH_4M
34 #endif
35
36 #if defined(CONFIG_BOARD_CAS861)
37 # define CONFIG_BOARD_NAME "CAS-861"
38 # define CONFIG_FLASH_SIZE FLASH_4M
39 #endif
40
41 #if defined(CONFIG_BOARD_NFS101U)
42 # define CONFIG_BOARD_NAME "NFS-101U"
43 # define CONFIG_FLASH_SIZE FLASH_4M
44 #endif
45
46 #if defined(CONFIG_BOARD_NFS202U)
47 # define CONFIG_BOARD_NAME "NFS-202U"
48 # define CONFIG_FLASH_SIZE FLASH_4M
49 #endif
50
51 /*
52 * Compex boards
53 */
54 #if defined(CONFIG_BOARD_WP54GWRT)
55 # define CONFIG_BOARD_NAME "WP54G-WRT"
56 # define CONFIG_FLASH_SIZE FLASH_4M
57 #endif
58
59 /*
60 * Edimax boards
61 */
62 #if defined(CONFIG_BOARD_BR6104K)
63 # define CONFIG_BOARD_NAME "BR-6104K"
64 # define CONFIG_FLASH_SIZE FLASH_2M
65 #endif
66
67 #if defined(CONFIG_BOARD_BR6104KP)
68 # define CONFIG_BOARD_NAME "BR-6104KP"
69 # define CONFIG_FLASH_SIZE FLASH_2M
70 #endif
71
72 #if defined(CONFIG_BOARD_BR6104WG)
73 # define CONFIG_BOARD_NAME "BR-6104WG"
74 # define CONFIG_FLASH_SIZE FLASH_2M
75 #endif
76
77 /*
78 * Infineon boards
79 */
80 #if defined(CONFIG_BOARD_EASY5120PATA)
81 # define CONFIG_BOARD_NAME "EASY 5120P-ATA"
82 # define CONFIG_FLASH_SIZE FLASH_4M
83 #endif
84
85 #if defined(CONFIG_BOARD_EASY5120RT)
86 # define CONFIG_BOARD_NAME "EASY 5120-RT"
87 # define CONFIG_FLASH_SIZE FLASH_4M
88 #endif
89
90 #if defined(CONFIG_BOARD_EASY5120WVOIP)
91 # define CONFIG_BOARD_NAME "EASY 5120-WVOIP"
92 # define CONFIG_FLASH_SIZE FLASH_4M
93 #endif
94
95 #if defined(CONFIG_BOARD_EASY83000)
96 # define CONFIG_BOARD_NAME "EASY 83000"
97 # define CONFIG_FLASH_SIZE FLASH_4M
98 #endif
99
100 /*
101 * Motorola boards
102 */
103 #if defined(CONFIG_BOARD_POWERLINEMUGW)
104 # define CONFIG_BOARD_NAME "Powerline MU Gateway"
105 # define CONFIG_USE_UART1 1
106 #endif
107
108 /*
109 * OSBRiDGE boards
110 */
111 #if defined(CONFIG_BOARD_5GXI)
112 # define CONFIG_BOARD_NAME "OSBRiDGE 5GXi"
113 #endif
114
115 /*
116 * ZyXEL boards
117 */
118 #if defined(CONFIG_BOARD_P334WT)
119 # define CONFIG_BOARD_NAME "P-334WT"
120 # define CONFIG_FLASH_SIZE FLASH_4M
121 #endif
122
123 #if defined(CONFIG_BOARD_P335)
124 # define CONFIG_BOARD_NAME "P-335"
125 # define CONFIG_FLASH_SIZE FLASH_4M
126 #endif
127
128 /*
129 * Default values
130 */
131 #ifndef CONFIG_BOARD_NAME
132 # define CONFIG_BOARD_NAME "ADM5120"
133 #endif
134
135 #ifndef CONFIG_FLASH_SIZE
136 # define CONFIG_FLASH_SIZE FLASH_2M
137 #endif
138
139 #if !defined(CONFIG_USE_UART0) && !defined(CONFIG_USE_UART1)
140 # define CONFIG_USE_UART0
141 #endif
142
143 #endif /* _CONFIG_H_ */
This page took 0.050791 seconds and 5 git commands to generate.