diff options
author | Wolfgang Denk <wd@denx.de> | 2012-08-07 23:42:55 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-07 23:42:55 +0200 |
commit | 6d36121b878a3ccbbff7f60a02109e8c8d81dd0f (patch) | |
tree | d8f1fb577d546ce2c8fc840546733db60b309c88 | |
parent | 157ef7993da7e2d09df1f9a4a0efbcf4d680fb8d (diff) | |
parent | 034afbcc167651f1322c50a58cac278e2256f4b8 (diff) | |
download | u-boot-imx-6d36121b878a3ccbbff7f60a02109e8c8d81dd0f.zip u-boot-imx-6d36121b878a3ccbbff7f60a02109e8c8d81dd0f.tar.gz u-boot-imx-6d36121b878a3ccbbff7f60a02109e8c8d81dd0f.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_onenand.c b/common/env_onenand.c index 7197ab6..da35071 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; |