浏览代码

change hardcoded max flash size to 4 MB, reported by jseitter

Waldemar Brodkorb 12 年之前
父节点
当前提交
b535dfd3b5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      package/cfgfs/Makefile
  2. 1 1
      package/cfgfs/src/defs.h

+ 1 - 1
package/cfgfs/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		cfgfs
 PKG_VERSION:=		1.0.9
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_DESCR:=		compressed config filesystem
 PKG_SECTION:=		base
 PKG_URL:=		http://openadk.org/

+ 1 - 1
package/cfgfs/src/defs.h

@@ -10,7 +10,7 @@
 #define DEFS_H
 
 #define DEF_FLASHBLOCK	65536		/* size of a flash block */
-#define DEF_FLASHPART	131072		/* size of the flash partition */
+#define DEF_FLASHPART	4194304		/* max size of the partition */
 
 #define FWCF_VER	0x01		/* major version of spec used */