From: rmilecki Date: Fri, 24 Apr 2015 15:38:38 +0000 (+0000) Subject: Revert "nvram: increase NVRAM size to 64 KiB" X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=9258d82f1d4a79f86ea72aad349b3f3eeb772d87 Revert "nvram: increase NVRAM size to 64 KiB" This reverts commit ff84c27a281bc19df19bc62ee8688cca5586f6e3. This tool has really broken size handling (many values hardcoded), it crashes right now in case of NVRAM not filling whole MTD partition. Conflicts: package/utils/nvram/src/nvram.h Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45579 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/utils/nvram/src/nvram.h b/package/utils/nvram/src/nvram.h index 215d816327..acc79e4bdb 100644 --- a/package/utils/nvram/src/nvram.h +++ b/package/utils/nvram/src/nvram.h @@ -114,7 +114,7 @@ char * nvram_find_staging(void); /* NVRAM constants */ #define NVRAM_MIN_SPACE 0x8000 -#define NVRAM_SPACE 0x10000 +#define NVRAM_SPACE 0x8000 #define NVRAM_MAGIC 0x48534C46 /* 'FLSH' */ #define NVRAM_VERSION 1