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>
This commit is contained in:
committed by
Wolfgang Denk
parent
3a5d1e7f13
commit
0a51e9248e
@@ -24,8 +24,6 @@
|
||||
#include <post.h>
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
/*
|
||||
* SYSMON test
|
||||
*
|
||||
@@ -328,4 +326,3 @@ int sysmon_post_test (int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_SYSMON */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
@@ -24,11 +24,8 @@
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
#include <post.h>
|
||||
|
||||
|
||||
#if CONFIG_POST & CFG_POST_DSP
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -54,5 +51,3 @@ int dsp_post_test(int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_DSP */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
/* There are two tests for dsPIC currently implemented:
|
||||
* 1. dsPIC ready test. Done in board_early_init_f(). Only result verified here.
|
||||
* 2. dsPIC POST result test. This test gets dsPIC POST codes and version.
|
||||
@@ -105,5 +103,3 @@ int dspic_post_test(int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_BSPEC2 */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
/* This test performs testing of FPGA SCRATCH register,
|
||||
* gets FPGA version and run get_ram_size() on FPGA memory
|
||||
*/
|
||||
@@ -94,5 +92,3 @@ int fpga_post_test(int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_BSPEC3 */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
/* This test attempts to verify board GDC. A scratch register tested, then
|
||||
* simple memory test (get_ram_size()) run over GDC memory.
|
||||
*/
|
||||
@@ -96,5 +94,3 @@ int gdc_post_test(int flags)
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_POST & CFG_POST_BSPEC4 */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include <post.h>
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
/*
|
||||
* SYSMON test
|
||||
*
|
||||
@@ -245,4 +243,3 @@ int sysmon_post_test (int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_SYSMON */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
* trigger watchdog reset.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
#include <post.h>
|
||||
|
||||
#if CONFIG_POST & CFG_POST_WATCHDOG
|
||||
@@ -128,5 +126,3 @@ int lwmon5_watchdog_post_test(int flags)
|
||||
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_WATCHDOG */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
* in the board specific function.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
#include <post.h>
|
||||
|
||||
#if CONFIG_POST & CFG_POST_CODEC
|
||||
@@ -45,4 +43,3 @@ int codec_post_test (int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_CODEC */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
* in the board specific function.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
||||
#include <post.h>
|
||||
|
||||
#if CONFIG_POST & CFG_POST_DSP
|
||||
@@ -45,4 +43,3 @@ int dsp_post_test (int flags)
|
||||
}
|
||||
|
||||
#endif /* CONFIG_POST & CFG_POST_DSP */
|
||||
#endif /* CONFIG_POST */
|
||||
|
||||
Reference in New Issue
Block a user