Commit 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1

Authored by Yuri Tikhonov
Committed by Wolfgang Denk
1 parent 3a5d1e7f13

POST: preparations for moving CONFIG_POST to Makefiles

Remove CONFIG_POST ifdefs from the post/ source files.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>

Showing 58 changed files with 2 additions and 182 deletions Side-by-side Diff

post/board/lwmon/sysmon.c
... ... @@ -24,8 +24,6 @@
24 24 #include <post.h>
25 25 #include <common.h>
26 26  
27   -#ifdef CONFIG_POST
28   -
29 27 /*
30 28 * SYSMON test
31 29 *
... ... @@ -328,5 +326,4 @@
328 326 }
329 327  
330 328 #endif /* CONFIG_POST & CFG_POST_SYSMON */
331   -#endif /* CONFIG_POST */
post/board/lwmon5/dsp.c
... ... @@ -24,11 +24,8 @@
24 24  
25 25 #include <common.h>
26 26  
27   -#ifdef CONFIG_POST
28   -
29 27 #include <post.h>
30 28  
31   -
32 29 #if CONFIG_POST & CFG_POST_DSP
33 30 #include <asm/io.h>
34 31  
... ... @@ -54,5 +51,4 @@
54 51 }
55 52  
56 53 #endif /* CONFIG_POST & CFG_POST_DSP */
57   -#endif /* CONFIG_POST */
post/board/lwmon5/dspic.c
... ... @@ -24,8 +24,6 @@
24 24  
25 25 #include <common.h>
26 26  
27   -#ifdef CONFIG_POST
28   -
29 27 /* There are two tests for dsPIC currently implemented:
30 28 * 1. dsPIC ready test. Done in board_early_init_f(). Only result verified here.
31 29 * 2. dsPIC POST result test. This test gets dsPIC POST codes and version.
... ... @@ -105,5 +103,4 @@
105 103 }
106 104  
107 105 #endif /* CONFIG_POST & CFG_POST_BSPEC2 */
108   -#endif /* CONFIG_POST */
post/board/lwmon5/fpga.c
... ... @@ -23,8 +23,6 @@
23 23 */
24 24 #include <common.h>
25 25  
26   -#ifdef CONFIG_POST
27   -
28 26 /* This test performs testing of FPGA SCRATCH register,
29 27 * gets FPGA version and run get_ram_size() on FPGA memory
30 28 */
... ... @@ -94,5 +92,4 @@
94 92 }
95 93  
96 94 #endif /* CONFIG_POST & CFG_POST_BSPEC3 */
97   -#endif /* CONFIG_POST */
post/board/lwmon5/gdc.c
... ... @@ -23,8 +23,6 @@
23 23 */
24 24 #include <common.h>
25 25  
26   -#ifdef CONFIG_POST
27   -
28 26 /* This test attempts to verify board GDC. A scratch register tested, then
29 27 * simple memory test (get_ram_size()) run over GDC memory.
30 28 */
... ... @@ -96,5 +94,4 @@
96 94 return ret;
97 95 }
98 96 #endif /* CONFIG_POST & CFG_POST_BSPEC4 */
99   -#endif /* CONFIG_POST */
post/board/lwmon5/sysmon.c
... ... @@ -25,8 +25,6 @@
25 25 #include <post.h>
26 26 #include <common.h>
27 27  
28   -#ifdef CONFIG_POST
29   -
30 28 /*
31 29 * SYSMON test
32 30 *
... ... @@ -245,5 +243,4 @@
245 243 }
246 244  
247 245 #endif /* CONFIG_POST & CFG_POST_SYSMON */
248   -#endif /* CONFIG_POST */
post/board/lwmon5/watchdog.c
... ... @@ -29,8 +29,6 @@
29 29 * trigger watchdog reset.
30 30 */
31 31  
32   -#ifdef CONFIG_POST
33   -
34 32 #include <post.h>
35 33  
36 34 #if CONFIG_POST & CFG_POST_WATCHDOG
... ... @@ -128,5 +126,4 @@
128 126  
129 127  
130 128 #endif /* CONFIG_POST & CFG_POST_WATCHDOG */
131   -#endif /* CONFIG_POST */
post/board/netta/codec.c
... ... @@ -31,8 +31,6 @@
31 31 * in the board specific function.
32 32 */
33 33  
34   -#ifdef CONFIG_POST
35   -
36 34 #include <post.h>
37 35  
38 36 #if CONFIG_POST & CFG_POST_CODEC
... ... @@ -45,5 +43,4 @@
45 43 }
46 44  
47 45 #endif /* CONFIG_POST & CFG_POST_CODEC */
48   -#endif /* CONFIG_POST */
post/board/netta/dsp.c
... ... @@ -31,8 +31,6 @@
31 31 * in the board specific function.
32 32 */
33 33  
34   -#ifdef CONFIG_POST
35   -
36 34 #include <post.h>
37 35  
38 36 #if CONFIG_POST & CFG_POST_DSP
... ... @@ -45,5 +43,4 @@
45 43 }
46 44  
47 45 #endif /* CONFIG_POST & CFG_POST_DSP */
48   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/cache.c
... ... @@ -29,8 +29,6 @@
29 29 * several test scenarios.
30 30 */
31 31  
32   -#ifdef CONFIG_POST
33   -
34 32 #include <post.h>
35 33 #include <watchdog.h>
36 34  
... ... @@ -78,5 +76,4 @@
78 76 }
79 77  
80 78 #endif /* CONFIG_POST & CFG_POST_CACHE */
81   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/cache_8xx.S
... ... @@ -22,7 +22,6 @@
22 22  
23 23 #include <config.h>
24 24  
25   -#ifdef CONFIG_POST
26 25 #if defined(CONFIG_MPC823) || \
27 26 defined(CONFIG_MPC850) || \
28 27 defined(CONFIG_MPC855) || \
... ... @@ -492,5 +491,4 @@
492 491  
493 492 #endif /* CONFIG_MPC823 || MPC850 || MPC855 || MPC860 */
494 493 #endif /* CONFIG_POST & CFG_POST_CACHE */
495   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/ether.c
... ... @@ -35,8 +35,6 @@
35 35 * TEST_NUM - number of tests
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39 #if CONFIG_POST & CFG_POST_ETHER
42 40 #if defined(CONFIG_8xx)
... ... @@ -627,6 +625,4 @@
627 625 }
628 626  
629 627 #endif /* CONFIG_POST & CFG_POST_ETHER */
630   -
631   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/spr.c
... ... @@ -33,8 +33,6 @@
33 33 * corresponding table value.
34 34 */
35 35  
36   -#ifdef CONFIG_POST
37   -
38 36 #include <post.h>
39 37  
40 38 #if CONFIG_POST & CFG_POST_SPR
... ... @@ -149,5 +147,4 @@
149 147 return ret;
150 148 }
151 149 #endif /* CONFIG_POST & CFG_POST_SPR */
152   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/uart.c
... ... @@ -36,8 +36,6 @@
36 36 * TEST_NUM - number of tests
37 37 */
38 38  
39   -#ifdef CONFIG_POST
40   -
41 39 #include <post.h>
42 40 #if CONFIG_POST & CFG_POST_UART
43 41 #if defined(CONFIG_8xx)
... ... @@ -556,6 +554,4 @@
556 554 }
557 555  
558 556 #endif /* CONFIG_POST & CFG_POST_UART */
559   -
560   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/usb.c
... ... @@ -34,8 +34,6 @@
34 34 * Initialization Example.
35 35 */
36 36  
37   -#ifdef CONFIG_POST
38   -
39 37 #include <post.h>
40 38  
41 39 #if CONFIG_POST & CFG_POST_USB
... ... @@ -265,6 +263,4 @@
265 263 }
266 264  
267 265 #endif /* CONFIG_POST & CFG_POST_USB */
268   -
269   -#endif /* CONFIG_POST */
post/cpu/mpc8xx/watchdog.c
... ... @@ -33,8 +33,6 @@
33 33 * reboots, on the second iteration the test routine reports a success.
34 34 */
35 35  
36   -#ifdef CONFIG_POST
37   -
38 36 #include <post.h>
39 37 #include <watchdog.h>
40 38  
... ... @@ -75,5 +73,4 @@
75 73 }
76 74  
77 75 #endif /* CONFIG_POST & CFG_POST_WATCHDOG */
78   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/cache.c
... ... @@ -31,8 +31,6 @@
31 31 * several test scenarios.
32 32 */
33 33  
34   -#ifdef CONFIG_POST
35   -
36 34 #include <post.h>
37 35  
38 36 #if CONFIG_POST & CFG_POST_CACHE
... ... @@ -122,5 +120,4 @@
122 120 }
123 121  
124 122 #endif /* CONFIG_POST & CFG_POST_CACHE */
125   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/cache_4xx.S
... ... @@ -25,8 +25,6 @@
25 25  
26 26 #include <config.h>
27 27  
28   -#ifdef CONFIG_POST
29   -
30 28 #include <post.h>
31 29 #include <ppc_asm.tmpl>
32 30 #include <ppc_defs.h>
... ... @@ -489,5 +487,4 @@
489 487 blr
490 488  
491 489 #endif /* CONFIG_POST & CFG_POST_CACHE */
492   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/denali_ecc.c
... ... @@ -31,7 +31,7 @@
31 31 #include <common.h>
32 32 #include <watchdog.h>
33 33  
34   -#if defined(CONFIG_POST) && (defined(CONFIG_440EPX) || defined(CONFIG_440GRX))
  34 +#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
35 35  
36 36 #include <post.h>
37 37  
... ... @@ -268,5 +268,5 @@
268 268 return ret;
269 269 }
270 270 #endif /* CONFIG_POST & CFG_POST_ECC */
271   -#endif /* defined(CONFIG_POST) && ... */
  271 +#endif /* defined(CONFIG_440EPX) || defined(CONFIG_440GRX) */
post/cpu/ppc4xx/ether.c
... ... @@ -37,8 +37,6 @@
37 37 * TEST_NUM - number of tests
38 38 */
39 39  
40   -#ifdef CONFIG_POST
41   -
42 40 #include <post.h>
43 41  
44 42 #if CONFIG_POST & CFG_POST_ETHER
... ... @@ -430,5 +428,4 @@
430 428 }
431 429  
432 430 #endif /* CONFIG_POST & CFG_POST_ETHER */
433   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/fpu.c
... ... @@ -25,7 +25,6 @@
25 25  
26 26 #include <config.h>
27 27  
28   -#ifdef CONFIG_POST
29 28 #if defined(CONFIG_440EP) || \
30 29 defined(CONFIG_440EPX)
31 30  
... ... @@ -56,5 +55,4 @@
56 55 }
57 56  
58 57 #endif
59   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/spr.c
... ... @@ -35,8 +35,6 @@
35 35 * corresponding table value.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39  
42 40 #if CONFIG_POST & CFG_POST_SPR
... ... @@ -199,5 +197,4 @@
199 197 }
200 198  
201 199 #endif /* CONFIG_POST & CFG_POST_SPR */
202   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/uart.c
... ... @@ -32,8 +32,6 @@
32 32 * characters are transmitted.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36  
39 37 #if CONFIG_POST & CFG_POST_UART
... ... @@ -389,5 +387,4 @@
389 387 }
390 388  
391 389 #endif /* CONFIG_POST & CFG_POST_UART */
392   -#endif /* CONFIG_POST */
post/cpu/ppc4xx/watchdog.c
... ... @@ -35,8 +35,6 @@
35 35 * reboots, on the second iteration the test routine reports a success.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39  
42 40 #if CONFIG_POST & CFG_POST_WATCHDOG
... ... @@ -68,5 +66,4 @@
68 66 }
69 67  
70 68 #endif /* CONFIG_POST & CFG_POST_WATCHDOG */
71   -#endif /* CONFIG_POST */
... ... @@ -23,8 +23,6 @@
23 23  
24 24 #include <common.h>
25 25  
26   -#ifdef CONFIG_POST
27   -
28 26 /*
29 27 * I2C test
30 28 *
... ... @@ -91,5 +89,4 @@
91 89 }
92 90  
93 91 #endif /* CONFIG_POST & CFG_POST_I2C */
94   -#endif /* CONFIG_POST */
post/drivers/memory.c
... ... @@ -150,8 +150,6 @@
150 150 * the whole RAM.
151 151 */
152 152  
153   -#ifdef CONFIG_POST
154   -
155 153 #include <post.h>
156 154 #include <watchdog.h>
157 155  
... ... @@ -483,5 +481,4 @@
483 481 }
484 482  
485 483 #endif /* CONFIG_POST & CFG_POST_MEMORY */
486   -#endif /* CONFIG_POST */
... ... @@ -38,8 +38,6 @@
38 38 * nonleap-years.
39 39 */
40 40  
41   -#ifdef CONFIG_POST
42   -
43 41 #include <post.h>
44 42 #include <rtc.h>
45 43  
... ... @@ -180,5 +178,4 @@
180 178 }
181 179  
182 180 #endif /* CONFIG_POST & CFG_POST_RTC */
183   -#endif /* CONFIG_POST */
... ... @@ -32,8 +32,6 @@
32 32 * different sets of operand registers and result registers.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36 #include "cpu_asm.h"
39 37  
... ... @@ -119,6 +117,5 @@
119 117 return ret;
120 118 }
121 119  
122   -#endif
123 120 #endif
... ... @@ -22,8 +22,6 @@
22 22  
23 23 #include <config.h>
24 24  
25   -#ifdef CONFIG_POST
26   -
27 25 #include <post.h>
28 26 #include <ppc_asm.tmpl>
29 27 #include <ppc_defs.h>
... ... @@ -357,6 +355,5 @@
357 355 bdnz cpu_post_complex_2_loop
358 356 blr
359 357  
360   -#endif
361 358 #endif
... ... @@ -37,8 +37,6 @@
37 37 * linked in U-Boot at build time.
38 38 */
39 39  
40   -#ifdef CONFIG_POST
41   -
42 40 #include <post.h>
43 41 #include "cpu_asm.h"
44 42  
... ... @@ -193,6 +191,5 @@
193 191 return ret;
194 192 }
195 193  
196   -#endif
197 194 #endif
... ... @@ -36,8 +36,6 @@
36 36 * the result in and the expected result.
37 37 */
38 38  
39   -#ifdef CONFIG_POST
40   -
41 39 #include <post.h>
42 40 #include "cpu_asm.h"
43 41  
... ... @@ -129,6 +127,5 @@
129 127 return ret;
130 128 }
131 129  
132   -#endif
133 130 #endif
... ... @@ -36,8 +36,6 @@
36 36 * the result in and the expected result.
37 37 */
38 38  
39   -#ifdef CONFIG_POST
40   -
41 39 #include <post.h>
42 40 #include "cpu_asm.h"
43 41  
... ... @@ -129,6 +127,5 @@
129 127 return ret;
130 128 }
131 129  
132   -#endif
133 130 #endif
post/lib_ppc/complex.c
... ... @@ -31,8 +31,6 @@
31 31 * calculations, but probably under different timing conditions, etc.
32 32 */
33 33  
34   -#ifdef CONFIG_POST
35   -
36 34 #include <post.h>
37 35 #include "cpu_asm.h"
38 36  
... ... @@ -122,6 +120,5 @@
122 120 return ret;
123 121 }
124 122  
125   -#endif
126 123 #endif
... ... @@ -32,8 +32,6 @@
32 32 * For more details refer to post/cpu/ *.c files.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <watchdog.h>
38 36 #include <post.h>
39 37 #include <asm/mmu.h>
... ... @@ -147,5 +145,4 @@
147 145 }
148 146  
149 147 #endif /* CONFIG_POST & CFG_POST_CPU */
150   -#endif /* CONFIG_POST */
... ... @@ -46,8 +46,6 @@
46 46 * expected one.
47 47 */
48 48  
49   -#ifdef CONFIG_POST
50   -
51 49 #include <post.h>
52 50 #include "cpu_asm.h"
53 51  
... ... @@ -352,6 +350,5 @@
352 350 return ret;
353 351 }
354 352  
355   -#endif
356 353 #endif
post/lib_ppc/fpu/20001122-1.c
... ... @@ -26,8 +26,6 @@
26 26  
27 27 #include <common.h>
28 28  
29   -#ifdef CONFIG_POST
30   -
31 29 #include <post.h>
32 30  
33 31 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -59,5 +57,4 @@
59 57 }
60 58  
61 59 #endif /* CONFIG_POST & CFG_POST_FPU */
62   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/20010114-2.c
... ... @@ -26,8 +26,6 @@
26 26  
27 27 #include <common.h>
28 28  
29   -#ifdef CONFIG_POST
30   -
31 29 #include <post.h>
32 30  
33 31 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -63,5 +61,4 @@
63 61 }
64 62  
65 63 #endif /* CONFIG_POST & CFG_POST_FPU */
66   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/20010226-1.c
... ... @@ -26,8 +26,6 @@
26 26  
27 27 #include <common.h>
28 28  
29   -#ifdef CONFIG_POST
30   -
31 29 #include <post.h>
32 30  
33 31 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -51,5 +49,4 @@
51 49 }
52 50  
53 51 #endif /* CONFIG_POST & CFG_POST_FPU */
54   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/980619-1.c
... ... @@ -26,8 +26,6 @@
26 26  
27 27 #include <common.h>
28 28  
29   -#ifdef CONFIG_POST
30   -
31 29 #include <post.h>
32 30  
33 31 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -57,5 +55,4 @@
57 55 }
58 56  
59 57 #endif /* CONFIG_POST & CFG_POST_FPU */
60   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/acc1.c
... ... @@ -26,8 +26,6 @@
26 26  
27 27 #include <common.h>
28 28  
29   -#ifdef CONFIG_POST
30   -
31 29 #include <post.h>
32 30  
33 31 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -54,5 +52,4 @@
54 52 }
55 53  
56 54 #endif /* CONFIG_POST & CFG_POST_FPU */
57   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/compare-fp-1.c
... ... @@ -28,8 +28,6 @@
28 28  
29 29 #include <common.h>
30 30  
31   -#ifdef CONFIG_POST
32   -
33 31 #include <post.h>
34 32  
35 33 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -222,5 +220,4 @@
222 220 }
223 221  
224 222 #endif /* CONFIG_POST & CFG_POST_FPU */
225   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/fpu.c
... ... @@ -34,8 +34,6 @@
34 34 * For more details refer to post/cpu/ *.c files.
35 35 */
36 36  
37   -#ifdef CONFIG_POST
38   -
39 37 #include <post.h>
40 38  
41 39 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -89,5 +87,4 @@
89 87 }
90 88  
91 89 #endif /* CONFIG_POST & CFG_POST_FPU */
92   -#endif /* CONFIG_POST */
post/lib_ppc/fpu/mul-subnormal-single-1.c
... ... @@ -28,8 +28,6 @@
28 28  
29 29 #include <common.h>
30 30  
31   -#ifdef CONFIG_POST
32   -
33 31 #include <post.h>
34 32  
35 33 #if CONFIG_POST & CFG_POST_FPU
... ... @@ -100,5 +98,4 @@
100 98 }
101 99  
102 100 #endif /* CONFIG_POST & CFG_POST_FPU */
103   -#endif /* CONFIG_POST */
... ... @@ -41,8 +41,6 @@
41 41 * register (it must change for "load with update" instructions).
42 42 */
43 43  
44   -#ifdef CONFIG_POST
45   -
46 44 #include <post.h>
47 45 #include "cpu_asm.h"
48 46  
... ... @@ -251,6 +249,5 @@
251 249 return ret;
252 250 }
253 251  
254   -#endif
255 252 #endif
post/lib_ppc/multi.c
... ... @@ -33,8 +33,6 @@
33 33 * of the source and target buffers are then compared.
34 34 */
35 35  
36   -#ifdef CONFIG_POST
37   -
38 36 #include <post.h>
39 37 #include "cpu_asm.h"
40 38  
... ... @@ -77,6 +75,5 @@
77 75 return ret;
78 76 }
79 77  
80   -#endif
81 78 #endif
post/lib_ppc/rlwimi.c
... ... @@ -32,8 +32,6 @@
32 32 * different sets of operand registers and result registers.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36 #include "cpu_asm.h"
39 37  
... ... @@ -158,6 +156,5 @@
158 156 return ret;
159 157 }
160 158  
161   -#endif
162 159 #endif
post/lib_ppc/rlwinm.c
... ... @@ -32,8 +32,6 @@
32 32 * different sets of operand registers and result registers.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36 #include "cpu_asm.h"
39 37  
... ... @@ -151,6 +149,5 @@
151 149 return ret;
152 150 }
153 151  
154   -#endif
155 152 #endif
post/lib_ppc/rlwnm.c
... ... @@ -32,8 +32,6 @@
32 32 * different sets of operand registers and result registers.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36 #include "cpu_asm.h"
39 37  
... ... @@ -161,6 +159,5 @@
161 159 return ret;
162 160 }
163 161  
164   -#endif
165 162 #endif
post/lib_ppc/srawi.c
... ... @@ -32,8 +32,6 @@
32 32 * different sets of operand registers and result registers.
33 33 */
34 34  
35   -#ifdef CONFIG_POST
36   -
37 35 #include <post.h>
38 36 #include "cpu_asm.h"
39 37  
... ... @@ -152,6 +150,5 @@
152 150 return ret;
153 151 }
154 152  
155   -#endif
156 153 #endif
post/lib_ppc/store.c
... ... @@ -41,8 +41,6 @@
41 41 * with update" instructions).
42 42 */
43 43  
44   -#ifdef CONFIG_POST
45   -
46 44 #include <post.h>
47 45 #include "cpu_asm.h"
48 46  
... ... @@ -231,6 +229,5 @@
231 229 return ret;
232 230 }
233 231  
234   -#endif
235 232 #endif
post/lib_ppc/string.c
... ... @@ -33,8 +33,6 @@
33 33 * of the source and target buffers are then compared.
34 34 */
35 35  
36   -#ifdef CONFIG_POST
37   -
38 36 #include <post.h>
39 37 #include "cpu_asm.h"
40 38  
... ... @@ -102,6 +100,5 @@
102 100 return ret;
103 101 }
104 102  
105   -#endif
106 103 #endif
post/lib_ppc/three.c
... ... @@ -35,8 +35,6 @@
35 35 * different sets of operand registers and result registers.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39 #include "cpu_asm.h"
42 40  
... ... @@ -255,6 +253,5 @@
255 253 return ret;
256 254 }
257 255  
258   -#endif
259 256 #endif
post/lib_ppc/threei.c
... ... @@ -34,8 +34,6 @@
34 34 * different sets of operand registers and result registers.
35 35 */
36 36  
37   -#ifdef CONFIG_POST
38   -
39 37 #include <post.h>
40 38 #include "cpu_asm.h"
41 39  
... ... @@ -133,6 +131,5 @@
133 131 return ret;
134 132 }
135 133  
136   -#endif
137 134 #endif
post/lib_ppc/threex.c
... ... @@ -35,8 +35,6 @@
35 35 * different sets of operand registers and result registers.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39 #include "cpu_asm.h"
42 40  
... ... @@ -225,6 +223,5 @@
225 223 return ret;
226 224 }
227 225  
228   -#endif
229 226 #endif
... ... @@ -35,8 +35,6 @@
35 35 * different sets of operand registers and result registers.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39 #include "cpu_asm.h"
42 40  
... ... @@ -172,6 +170,5 @@
172 170 return ret;
173 171 }
174 172  
175   -#endif
176 173 #endif
... ... @@ -35,8 +35,6 @@
35 35 * different sets of operand registers and result registers.
36 36 */
37 37  
38   -#ifdef CONFIG_POST
39   -
40 38 #include <post.h>
41 39 #include "cpu_asm.h"
42 40  
... ... @@ -172,6 +170,5 @@
172 170 return ret;
173 171 }
174 172  
175   -#endif
176 173 #endif
... ... @@ -30,8 +30,6 @@
30 30 #include <logbuff.h>
31 31 #endif
32 32  
33   -#ifdef CONFIG_POST
34   -
35 33 DECLARE_GLOBAL_DATA_PTR;
36 34  
37 35 #define POST_MAX_NUMBER 32
... ... @@ -442,6 +440,4 @@
442 440 return 0; /* Not implemented yet */
443 441 #endif
444 442 }
445   -
446   -#endif /* CONFIG_POST */
... ... @@ -27,8 +27,6 @@
27 27  
28 28 #include <common.h>
29 29  
30   -#ifdef CONFIG_POST
31   -
32 30 #include <post.h>
33 31  
34 32 extern int cache_post_test (int flags);
... ... @@ -278,6 +276,4 @@
278 276 };
279 277  
280 278 unsigned int post_list_size = sizeof (post_list) / sizeof (struct post_test);
281   -
282   -#endif /* CONFIG_POST */