diff options
author | HeungJun Kim <riverful.kim@gmail.com> | 2009-06-30 14:42:22 +0900 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-07-07 17:58:11 -0500 |
commit | 2e8a6f551cba550e9220dca4d8504066203b1f74 (patch) | |
tree | dc826d60fd514794d4e3a7f62fb0f204d78d8aa6 /common/env_onenand.c | |
parent | 66372fe2ab11cdeb0e841ad9eb6ba79769db4909 (diff) | |
download | u-boot-2e8a6f551cba550e9220dca4d8504066203b1f74.tar.gz u-boot-2e8a6f551cba550e9220dca4d8504066203b1f74.tar.xz u-boot-2e8a6f551cba550e9220dca4d8504066203b1f74.zip |
env_onenand: change env_address type from unsigned long to loff_t
If use the onenand boot, the env_relocate_spec() calls mtd->read(),
and the type of the argument #2 of mtd->read() was changed to loff_t.
But, the "env_addr" type is still unsigned long, thus this patch change
the type from unsigned long to loff_t.
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: HeungJun, Kim <riverful.kim@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common/env_onenand.c')
-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 ed77051724..48089a9603 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -58,7 +58,7 @@ uchar env_get_char_spec(int index) void env_relocate_spec(void) { - unsigned long env_addr; + loff_t env_addr; int use_default = 0; size_t retlen; |