summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2009-07-14 15:59:12 +0800
committerFred Fan <r01011@freescale.com>2009-09-10 17:03:32 +0800
commit98ab00fc5434683e5e281156e24d6a52fa17a417 (patch)
tree664f1d6ca684c68da4258907f98b1dec8769479e /common
parentafbf753cb44a5b7dfb8bcff430b48a4999214f02 (diff)
downloadu-boot-imx-98ab00fc5434683e5e281156e24d6a52fa17a417.zip
u-boot-imx-98ab00fc5434683e5e281156e24d6a52fa17a417.tar.gz
u-boot-imx-98ab00fc5434683e5e281156e24d6a52fa17a417.tar.bz2
ENGR00114201: Add MMC configs to mx35 3stack config file.
Add MMC configs to mx35 3stack config file. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/env_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_mmc.c b/common/env_mmc.c
index 413a5c7..74e6c60 100644
--- a/common/env_mmc.c
+++ b/common/env_mmc.c
@@ -295,7 +295,7 @@ void env_relocate_spec(void)
}
total = CONFIG_ENV_SIZE;
- ret = mmc_read(CONFIG_ENV_OFFSET, (u_char *)env_ptr, &total);
+ ret = mmc_read(CONFIG_ENV_OFFSET, (u_char *)env_ptr, total);
if (ret || total != CONFIG_ENV_SIZE)
return use_default();