[U-Boot] [PATCH 19/20] tegra: config: Allow Chrome OS environment settings to be included
Simon Glass
sjg at chromium.org
Tue Feb 17 23:29:53 CET 2015
Bring these in if they are provided by the board.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
include/configs/tegra-common-post.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 2de5d36..a004b0b 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -56,13 +56,18 @@
#define BOARD_EXTRA_ENV_SETTINGS
#endif
+#ifndef CONFIG_CHROMEOS_EXTRA_ENV_SETTINGS
+#define CONFIG_CHROMEOS_EXTRA_ENV_SETTINGS
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
TEGRA_DEVICE_SETTINGS \
MEM_LAYOUT_ENV_SETTINGS \
"fdt_high=ffffffff\0" \
"initrd_high=ffffffff\0" \
BOOTENV \
- BOARD_EXTRA_ENV_SETTINGS
+ BOARD_EXTRA_ENV_SETTINGS \
+ CONFIG_CHROMEOS_EXTRA_ENV_SETTINGS
#if defined(CONFIG_TEGRA20_SFLASH) || defined(CONFIG_TEGRA20_SLINK) || defined(CONFIG_TEGRA114_SPI)
#define CONFIG_TEGRA_SPI
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list