diff mbox

[U-Boot,v3,12/12] x86: config: chromebook_link: Enable environment

Message ID 1421730977-30077-13-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Jan. 20, 2015, 5:16 a.m. UTC
Enable an environment area.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---

Changes in v3: None
Changes in v2: None

 include/configs/chromebook_link.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Simon Glass Jan. 24, 2015, 1:31 p.m. UTC | #1
On 19 January 2015 at 22:16, Simon Glass <sjg@chromium.org> wrote:
> Enable an environment area.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  include/configs/chromebook_link.h | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to u-boot-x86.
diff mbox

Patch

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"