summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-19 22:16:17 -0700
committerSimon Glass <sjg@chromium.org>2015-01-24 06:13:46 -0700
commite43ade3749ff10bc313f33bf23705465e4163896 (patch)
treefcb8365578f036ec77a0e5f03c27d08fc8e1597b
parent380ab5cc27051781864dea1f895181026954ab58 (diff)
downloadu-boot-imx-e43ade3749ff10bc313f33bf23705465e4163896.zip
u-boot-imx-e43ade3749ff10bc313f33bf23705465e4163896.tar.gz
u-boot-imx-e43ade3749ff10bc313f33bf23705465e4163896.tar.bz2
x86: config: chromebook_link: Enable environment
Enable an environment area. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--include/configs/chromebook_link.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/chromebook_link.h b/include/configs/chromebook_link.h
index 6e8b9ef..7b460e8 100644
--- a/include/configs/chromebook_link.h
+++ b/include/configs/chromebook_link.h
@@ -64,6 +64,13 @@
#define CONFIG_CMD_CROS_EC
#define CONFIG_ARCH_EARLY_INIT_R
+#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_SIZE
+#define CONFIG_ENV_SIZE 0x1000
+#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_OFFSET 0x003f8000
+
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
"stdout=vga,serial\0" \
"stderr=vga,serial\0"