Commit 9760b274df8fdc5a6d124f3192535ebe281a78a6
Committed by
Andy Fleming
1 parent
d607b9684b
Exists in
master
and in
54 other branches
powerpc/corenet_ds: move SATA config to board configuration
board configuration file is included before asm/config_mpc85xx.h. however, CONFIG_FSL_SATA_V2 is defined in asm/config_mpc85xx.h. it will never take effective in the board configuration file for this kind of code : #ifdef CONFIG_FSL_SATA_V2 ... #endif To solve this problem, move CONFIG_FSL_SATA_V2 to board configuration header file. This patch reverts Timur's commit:3e0529f742e893653848494ffb9f7cd0d91304bf Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Showing 6 changed files with 7 additions and 8 deletions Side-by-side Diff
arch/powerpc/include/asm/config_mpc85xx.h
... | ... | @@ -137,7 +137,6 @@ |
137 | 137 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3 |
138 | 138 | #define CONFIG_TSECV2 |
139 | 139 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
140 | -#define CONFIG_FSL_SATA_V2 | |
141 | 140 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
142 | 141 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
143 | 142 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
... | ... | @@ -181,7 +180,6 @@ |
181 | 180 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
182 | 181 | #define CONFIG_TSECV2 |
183 | 182 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
184 | -#define CONFIG_FSL_SATA_V2 | |
185 | 183 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
186 | 184 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
187 | 185 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
... | ... | @@ -194,7 +192,6 @@ |
194 | 192 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3 |
195 | 193 | #define CONFIG_TSECV2 |
196 | 194 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
197 | -#define CONFIG_FSL_SATA_V2 | |
198 | 195 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
199 | 196 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
200 | 197 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
... | ... | @@ -248,7 +245,6 @@ |
248 | 245 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
249 | 246 | #define CONFIG_TSECV2 |
250 | 247 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
251 | -#define CONFIG_FSL_SATA_V2 | |
252 | 248 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
253 | 249 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
254 | 250 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
... | ... | @@ -324,7 +320,6 @@ |
324 | 320 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
325 | 321 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
326 | 322 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
327 | -#define CONFIG_FSL_SATA_V2 | |
328 | 323 | #define CONFIG_SYS_NUM_FMAN 1 |
329 | 324 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
330 | 325 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
... | ... | @@ -357,7 +352,6 @@ |
357 | 352 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
358 | 353 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
359 | 354 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
360 | -#define CONFIG_FSL_SATA_V2 | |
361 | 355 | #define CONFIG_SYS_NUM_FMAN 1 |
362 | 356 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
363 | 357 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
... | ... | @@ -435,7 +429,6 @@ |
435 | 429 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
436 | 430 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
437 | 431 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
438 | -#define CONFIG_FSL_SATA_V2 | |
439 | 432 | #define CONFIG_SYS_NUM_FMAN 1 |
440 | 433 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
441 | 434 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
include/configs/P1010RDB.h
include/configs/P1022DS.h
include/configs/P2041RDB.h
include/configs/P3041DS.h