mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
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 <zajec5@gmail.com> SVN-Revision: 45579
This commit is contained in:
parent
97a0e165a6
commit
63bb07b28c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user