]> git.dujemihanovic.xyz Git - u-boot.git/commit
env_onenand: change env_address type from unsigned long to loff_t
authorHeungJun Kim <riverful.kim@gmail.com>
Tue, 30 Jun 2009 05:42:22 +0000 (14:42 +0900)
committerScott Wood <scottwood@freescale.com>
Tue, 7 Jul 2009 22:58:11 +0000 (17:58 -0500)
commit2e8a6f551cba550e9220dca4d8504066203b1f74
treedc826d60fd514794d4e3a7f62fb0f204d78d8aa6
parent66372fe2ab11cdeb0e841ad9eb6ba79769db4909
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>
common/env_onenand.c