Commit 40f1daa0b797e9db7413cf477637ba8d31cbb2d7
Committed by
Stefano Babic
1 parent
b33426caf6
Exists in
master
and in
53 other branches
configs: mx28evk: Use single-line comments
No need to use multi-line style comments for single-line contents. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Showing 1 changed file with 15 additions and 45 deletions Side-by-side Diff
include/configs/mx28evk.h
... | ... | @@ -19,9 +19,7 @@ |
19 | 19 | #ifndef __MX28EVK_CONFIG_H__ |
20 | 20 | #define __MX28EVK_CONFIG_H__ |
21 | 21 | |
22 | -/* | |
23 | - * SoC configurations | |
24 | - */ | |
22 | +/* SoC configurations */ | |
25 | 23 | #define CONFIG_MX28 /* i.MX28 SoC */ |
26 | 24 | |
27 | 25 | #define CONFIG_MXS_GPIO /* GPIO control */ |
... | ... | @@ -35,9 +33,7 @@ |
35 | 33 | #define CONFIG_BOARD_EARLY_INIT_F |
36 | 34 | #define CONFIG_ARCH_MISC_INIT |
37 | 35 | |
38 | -/* | |
39 | - * SPL | |
40 | - */ | |
36 | +/* SPL */ | |
41 | 37 | #define CONFIG_SPL |
42 | 38 | #define CONFIG_SPL_NO_CPU_SUPPORT_CODE |
43 | 39 | #define CONFIG_SPL_START_S_PATH "arch/arm/cpu/arm926ejs/mxs" |
... | ... | @@ -46,9 +42,7 @@ |
46 | 42 | #define CONFIG_SPL_LIBGENERIC_SUPPORT |
47 | 43 | #define CONFIG_SPL_GPIO_SUPPORT |
48 | 44 | |
49 | -/* | |
50 | - * U-Boot Commands | |
51 | - */ | |
45 | +/* U-Boot Commands */ | |
52 | 46 | #include <config_cmd_default.h> |
53 | 47 | #define CONFIG_DISPLAY_CPUINFO |
54 | 48 | #define CONFIG_DOS_PARTITION |
... | ... | @@ -70,9 +64,7 @@ |
70 | 64 | #define CONFIG_CMD_BOOTZ |
71 | 65 | #define CONFIG_CMD_I2C |
72 | 66 | |
73 | -/* | |
74 | - * Memory configurations | |
75 | - */ | |
67 | +/* Memory configurations */ | |
76 | 68 | #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ |
77 | 69 | #define PHYS_SDRAM_1 0x40000000 /* Base address */ |
78 | 70 | #define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */ |
... | ... | @@ -98,9 +90,7 @@ |
98 | 90 | #define CONFIG_SYS_TEXT_BASE 0x40000100 |
99 | 91 | |
100 | 92 | #define CONFIG_ENV_OVERWRITE |
101 | -/* | |
102 | - * U-Boot general configurations | |
103 | - */ | |
93 | +/* U-Boot general configurations */ | |
104 | 94 | #define CONFIG_SYS_LONGHELP |
105 | 95 | #define CONFIG_SYS_PROMPT "MX28EVK U-Boot > " |
106 | 96 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */ |
107 | 97 | |
108 | 98 | |
... | ... | @@ -115,23 +105,17 @@ |
115 | 105 | #define CONFIG_CMDLINE_EDITING /* Command history etc */ |
116 | 106 | #define CONFIG_SYS_HUSH_PARSER |
117 | 107 | |
118 | -/* | |
119 | - * Serial Driver | |
120 | - */ | |
108 | +/* Serial Driver */ | |
121 | 109 | #define CONFIG_PL011_SERIAL |
122 | 110 | #define CONFIG_PL011_CLOCK 24000000 |
123 | 111 | #define CONFIG_PL01x_PORTS { (void *)MXS_UARTDBG_BASE } |
124 | 112 | #define CONFIG_CONS_INDEX 0 |
125 | 113 | #define CONFIG_BAUDRATE 115200 /* Default baud rate */ |
126 | 114 | |
127 | -/* | |
128 | - * DMA | |
129 | - */ | |
115 | +/* DMA */ | |
130 | 116 | #define CONFIG_APBH_DMA |
131 | 117 | |
132 | -/* | |
133 | - * MMC Driver | |
134 | - */ | |
118 | +/* MMC Driver */ | |
135 | 119 | #define CONFIG_ENV_IS_IN_MMC |
136 | 120 | #ifdef CONFIG_ENV_IS_IN_MMC |
137 | 121 | #define CONFIG_ENV_OFFSET (256 * 1024) |
... | ... | @@ -146,9 +130,7 @@ |
146 | 130 | #define CONFIG_MXS_MMC |
147 | 131 | #endif |
148 | 132 | |
149 | -/* | |
150 | - * NAND Driver | |
151 | - */ | |
133 | +/* NAND Driver */ | |
152 | 134 | #ifdef CONFIG_CMD_NAND |
153 | 135 | #define CONFIG_NAND_MXS |
154 | 136 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
... | ... | @@ -156,9 +138,7 @@ |
156 | 138 | #define CONFIG_SYS_NAND_5_ADDR_CYCLE |
157 | 139 | #endif |
158 | 140 | |
159 | -/* | |
160 | - * Ethernet on SOC (FEC) | |
161 | - */ | |
141 | +/* Ethernet on SOC (FEC) */ | |
162 | 142 | #ifdef CONFIG_CMD_NET |
163 | 143 | #define CONFIG_NET_MULTI |
164 | 144 | #define CONFIG_ETHPRIME "FEC0" |
165 | 145 | |
... | ... | @@ -168,16 +148,12 @@ |
168 | 148 | #define CONFIG_MX28_FEC_MAC_IN_OCOTP |
169 | 149 | #endif |
170 | 150 | |
171 | -/* | |
172 | - * RTC | |
173 | - */ | |
151 | +/* RTC */ | |
174 | 152 | #ifdef CONFIG_CMD_DATE |
175 | 153 | #define CONFIG_RTC_MXS |
176 | 154 | #endif |
177 | 155 | |
178 | -/* | |
179 | - * USB | |
180 | - */ | |
156 | +/* USB */ | |
181 | 157 | #ifdef CONFIG_CMD_USB |
182 | 158 | #define CONFIG_USB_EHCI |
183 | 159 | #define CONFIG_USB_EHCI_MXS |
... | ... | @@ -197,9 +173,7 @@ |
197 | 173 | #define CONFIG_SYS_I2C_SPEED 400000 |
198 | 174 | #endif |
199 | 175 | |
200 | -/* | |
201 | - * SPI | |
202 | - */ | |
176 | +/* SPI */ | |
203 | 177 | #ifdef CONFIG_CMD_SPI |
204 | 178 | #define CONFIG_HARD_SPI |
205 | 179 | #define CONFIG_MXS_SPI |
... | ... | @@ -232,9 +206,7 @@ |
232 | 206 | #endif |
233 | 207 | #endif |
234 | 208 | |
235 | -/* | |
236 | - * Boot Linux | |
237 | - */ | |
209 | +/* Boot Linux */ | |
238 | 210 | #define CONFIG_CMDLINE_TAG |
239 | 211 | #define CONFIG_SETUP_MEMORY_TAGS |
240 | 212 | #define CONFIG_BOOTDELAY 1 |
... | ... | @@ -243,9 +215,7 @@ |
243 | 215 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR |
244 | 216 | #define CONFIG_OF_LIBFDT |
245 | 217 | |
246 | -/* | |
247 | - * Extra Environments | |
248 | - */ | |
218 | +/* Extra Environments */ | |
249 | 219 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
250 | 220 | "update_nand_full_filename=u-boot.nand\0" \ |
251 | 221 | "update_nand_firmware_filename=u-boot.sb\0" \ |