powerpc/bootcount: Fix endianness problem
authorMichael Weiss <michael.weiss@ifm.com>
Thu, 20 May 2010 14:09:35 +0000 (16:09 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 26 May 2010 20:26:32 +0000 (22:26 +0200)
commit59dde44acb82e571808190ccd3cd6b82dc9d7001
tree49a49b314e45b59c65a11503f08a7ae4f66486dd
parentd74dda09f0178079705ee1d641444bac44d3ecd9
powerpc/bootcount: Fix endianness problem

For CONFIG_SYS_BOOTCOUNT_SINGLEWORD the code had an endianness problem.

Signed-off-by: Michael Weiss <michael.weiss@ifm.com>
Signed-off-by: Detlev Zundel <dzu@denx.de>
arch/powerpc/lib/bootcount.c