summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-08-07 23:42:55 +0200
committerWolfgang Denk <wd@denx.de>2012-08-07 23:42:55 +0200
commit6d36121b878a3ccbbff7f60a02109e8c8d81dd0f (patch)
treed8f1fb577d546ce2c8fc840546733db60b309c88
parent157ef7993da7e2d09df1f9a4a0efbcf4d680fb8d (diff)
parent034afbcc167651f1322c50a58cac278e2256f4b8 (diff)
downloadtalos-obmc-uboot-6d36121b878a3ccbbff7f60a02109e8c8d81dd0f.tar.gz
talos-obmc-uboot-6d36121b878a3ccbbff7f60a02109e8c8d81dd0f.zip
Merge branch 'master' of git://git.denx.de/u-boot-onenand
* 'master' of git://git.denx.de/u-boot-onenand: env_onenand: set ONENAND_MAX_ENV_SIZE to CONFIG_ENV_SIZE Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--common/env_onenand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_onenand.c b/common/env_onenand.c
index 7197ab6585..da35071251 100644
--- a/common/env_onenand.c
+++ b/common/env_onenand.c
@@ -39,7 +39,7 @@
char *env_name_spec = "OneNAND";
-#define ONENAND_MAX_ENV_SIZE 4096
+#define ONENAND_MAX_ENV_SIZE CONFIG_ENV_SIZE
#define ONENAND_ENV_SIZE(mtd) (ONENAND_MAX_ENV_SIZE - ENV_HEADER_SIZE)
DECLARE_GLOBAL_DATA_PTR;
OpenPOWER on IntegriCloud