aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-04-24 15:38:38 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-04-24 15:38:38 +0000
commit63bb07b28c07ef42bc6a2c8c225f24e3e49b6bd7 (patch)
tree31acfe46da1e570eb74d8b5b91fc6fbf9eee8f94 /package
parent97a0e165a621c8b2d3b2e3e623ee1629166e66ed (diff)
downloadupstream-63bb07b28c07ef42bc6a2c8c225f24e3e49b6bd7.tar.gz
upstream-63bb07b28c07ef42bc6a2c8c225f24e3e49b6bd7.tar.bz2
upstream-63bb07b28c07ef42bc6a2c8c225f24e3e49b6bd7.zip
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
Diffstat (limited to 'package')
-rw-r--r--package/utils/nvram/src/nvram.h2
1 files changed, 1 insertions, 1 deletions
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