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>
This commit is contained in:
HeungJun Kim 2009-06-30 14:42:22 +09:00 committed by Scott Wood
parent 66372fe2ab
commit 2e8a6f551c
1 changed files with 1 additions and 1 deletions

View File

@ -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;