summaryrefslogtreecommitdiff
path: root/include/env_default.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env_default.h')
-rw-r--r--include/env_default.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/env_default.h b/include/env_default.h
index 3096576836a..ea6704a9729 100644
--- a/include/env_default.h
+++ b/include/env_default.h
@@ -90,9 +90,13 @@ const uchar default_environment[] = {
#endif
#ifdef CONFIG_ENV_VARS_UBOOT_CONFIG
"arch=" CONFIG_SYS_ARCH "\0"
+#ifdef CONFIG_SYS_CPU
"cpu=" CONFIG_SYS_CPU "\0"
+#endif
+#ifdef CONFIG_SYS_BOARD
"board=" CONFIG_SYS_BOARD "\0"
"board_name=" CONFIG_SYS_BOARD "\0"
+#endif
#ifdef CONFIG_SYS_VENDOR
"vendor=" CONFIG_SYS_VENDOR "\0"
#endif