[RFC] Select CMD_LOADENV with DEFAULT_ENVIRONMENT
Sanjeev Premi
premi at ti.com
Tue Feb 7 11:52:45 EST 2012
The environment isn't loaded until this command is
is selected - even if compiled in.
This patch makes the dependency explicit.
Signed-off-by: Sanjeev Premi <premi at ti.com>
---
Problem was encountered when trying to boot Linux with
default environmenti on OMAP3 EVM. Since the default
config was also being improved from its current state,
it took rather long to narrow why the compiled
environment was being 'ignored'.
Sending change as RFC, as I may be missing something
obvious as well.
common/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/common/Kconfig b/common/Kconfig
index d1db27d..2a7cbfc 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -447,6 +447,7 @@ config PARTITION_DISK_DOS
config DEFAULT_ENVIRONMENT
bool
default y
+ select CMD_LOADENV
prompt "Compile in default environment"
help
Enabling this option will give you a default environment when
--
1.7.0.4
More information about the barebox
mailing list