P4080/mtd: Fix the freescale lbc issue with 36bit mode
authorLan Chunhe-B25806 <b25806@freescale.com>
Mon, 18 Oct 2010 07:22:32 +0000 (15:22 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Oct 2010 14:41:04 +0000 (15:41 +0100)
When system uses 36bit physical address, res.start is 36bit
physical address. But the function of in_be32 returns 32bit
physical address. Then both of them compared each other is
wrong. So by converting the address of res.start into
the right format fixes this issue.

Signed-off-by: Lan Chunhe-B25806 <b25806@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Reviewed-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found