summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-29 10:59:07 -0400
committerTom Rini <trini@konsulko.com>2019-10-29 16:06:44 -0400
commit921fcac7fa3300d760af0e4e798b9a7560c96549 (patch)
treeb7a19983fed467be41bb97b1d2f830f6091f8ca8
parentffc379b42c85466e1dd4c8fee8268801f26d2ab8 (diff)
downloadu-boot-TEST/is-CONFIG_ENV_IS_EMBEDDED-set.tar.gz
TEST: Where is CONFIG_ENV_IS_EMBEDDED setTEST/is-CONFIG_ENV_IS_EMBEDDED-set
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/env_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/env_internal.h b/include/env_internal.h
index 88c36b32a1..2c6002fed1 100644
--- a/include/env_internal.h
+++ b/include/env_internal.h
@@ -120,6 +120,7 @@ extern unsigned long nand_env_oob_offset;
!defined(CONFIG_ENV_IS_IN_SPI_FLASH)
# error "CONFIG_ENV_IS_EMBEDDED not supported for your flash type"
# endif
+#error "On this board we set CONFIG_ENV_IS_EMBEDDED somewhere"
#endif
/*
@@ -173,6 +174,7 @@ typedef struct environment_s {
#ifdef ENV_IS_EMBEDDED
extern env_t embedded_environment;
+#error "ENV_IS_EMBEDDED IS SET"
#endif /* ENV_IS_EMBEDDED */
extern const unsigned char default_environment[];