common: Drop CONFIG_POST_STD/ALT_LIST

These CONFIG options are not used anymore. CONFIG_POST_ALT_LIST just
causes CONFIG_POST_STD_LIST to be set and it causes tests.c to be
compiled. So just make compiling tests.c unconditional.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2019-12-28 10:44:50 -07:00 committed by Jagan Teki
parent ad8a812f40
commit ef20e5359b
3 changed files with 1 additions and 6 deletions

View File

@ -124,9 +124,6 @@ int get_serial_clock(void);
#ifdef CONFIG_POST #ifdef CONFIG_POST
#define CONFIG_HAS_POST #define CONFIG_HAS_POST
#ifndef CONFIG_POST_ALT_LIST
#define CONFIG_POST_STD_LIST
#endif
#endif #endif
#define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1)) #define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))

View File

@ -4,7 +4,7 @@
# Wolfgang Denk, DENX Software Engineering, wd@denx.de. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
obj-y += post.o obj-y += post.o
obj-$(CONFIG_POST_STD_LIST) += tests.o obj-y += tests.o
obj-y += drivers/ obj-y += drivers/
obj-$(CONFIG_PPC) += lib_powerpc/ obj-$(CONFIG_PPC) += lib_powerpc/

View File

@ -1347,7 +1347,6 @@ CONFIG_PMW_BASE
CONFIG_PM_SLEEP CONFIG_PM_SLEEP
CONFIG_POST CONFIG_POST
CONFIG_POSTBOOTMENU CONFIG_POSTBOOTMENU
CONFIG_POST_ALT_LIST
CONFIG_POST_BSPEC1 CONFIG_POST_BSPEC1
CONFIG_POST_BSPEC2 CONFIG_POST_BSPEC2
CONFIG_POST_BSPEC3 CONFIG_POST_BSPEC3
@ -1355,7 +1354,6 @@ CONFIG_POST_BSPEC4
CONFIG_POST_BSPEC5 CONFIG_POST_BSPEC5
CONFIG_POST_EXTERNAL_WORD_FUNCS CONFIG_POST_EXTERNAL_WORD_FUNCS
CONFIG_POST_SKIP_ENV_FLAGS CONFIG_POST_SKIP_ENV_FLAGS
CONFIG_POST_STD_LIST
CONFIG_POST_UART CONFIG_POST_UART
CONFIG_POST_WATCHDOG CONFIG_POST_WATCHDOG
CONFIG_POWER CONFIG_POWER