Use only half of the FLASH sector for Dragino 2 environment
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 3 Feb 2014 17:45:51 +0000 (18:45 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 3 Feb 2014 17:45:51 +0000 (18:45 +0100)
u-boot/include/configs/ap121.h

index 6aa30a29a4d593ddab6fb0c6e6e6bf44d5bc2b68..59f4df44e744e5235cb98545ea5933902e3761af 100755 (executable)
 
 #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