Globally remove most CONFIG_SPL_BUILD tests from config headers
With the exception of how PowerPC handles SPL and TPL (which has its own issues), we cannot safely hide options under CONFIG_SPL_BUILD. Largely remove the places that have this test today. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
/* Define own nand partitions */
|
||||
#define CONFIG_ENV_RANGE (4 * CONFIG_SYS_ENV_SECT_SIZE)
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
||||
/* Default env settings */
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"hostname=draco\0" \
|
||||
@@ -43,8 +41,4 @@
|
||||
CONFIG_ENV_SETTINGS_V2 \
|
||||
CONFIG_ENV_SETTINGS_NAND_V2
|
||||
|
||||
#ifndef CONFIG_RESTORE_FLASH
|
||||
/* set to negative value for no autoboot */
|
||||
#endif
|
||||
#endif /* CONFIG_SPL_BUILD */
|
||||
#endif /* ! __CONFIG_DRACO_H */
|
||||
|
||||
Reference in New Issue
Block a user