From a000e3b0cdec5993f13bbd79414b6460dc551c47 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 3 Feb 2014 18:45:51 +0100 Subject: [PATCH] Use only half of the FLASH sector for Dragino 2 environment --- u-boot/include/configs/ap121.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index 6aa30a2..59f4df4 100755 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -755,10 +755,12 @@ #if defined(CONFIG_FOR_DRAGINO_V2) #define CFG_ENV_ADDR 0x9F030000 + #define CFG_ENV_SIZE 0x8000 + #define CFG_ENV_SECT_SIZE 0x10000 #else #define CFG_ENV_ADDR 0x9F040000 + #define CFG_ENV_SIZE 0x10000 #endif -#define CFG_ENV_SIZE 0x10000 /* * Available commands -- 2.25.1