From: Piotr Dymacz Date: Mon, 3 Feb 2014 17:45:51 +0000 (+0100) Subject: Use only half of the FLASH sector for Dragino 2 environment X-Git-Tag: 2014-11-19~32^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a000e3b0cdec5993f13bbd79414b6460dc551c47;p=oweals%2Fu-boot_mod.git Use only half of the FLASH sector for Dragino 2 environment --- 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