summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorChristian Riesch <christian.riesch@omicron.at>2011-12-21 04:49:18 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 08:40:10 +0100
commita601bed0652de9e5f75e153bb511964b381895e5 (patch)
treeaabbcce98cc98ff072f63bb39a33643f7260713c /board
parent1378cac6694dc5826589c732f83c9e416edcee84 (diff)
arm, davinci: Change byte order of RTC kick register values
Now the values in the defines agree with those in the manuals. Signed-off-by: Christian Riesch <christian.riesch@omicron.at> Cc: Tom Rini <trini@ti.com> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/enbw/enbw_cmc/enbw_cmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/enbw/enbw_cmc/enbw_cmc.c b/board/enbw/enbw_cmc/enbw_cmc.c
index 5cd5357bcd1..98dda1eada7 100644
--- a/board/enbw/enbw_cmc/enbw_cmc.c
+++ b/board/enbw/enbw_cmc/enbw_cmc.c
@@ -526,8 +526,8 @@ void bootcount_store(ulong a)
* for RTC Scratch registers. Cratch0 and 1 are
* used for bootcount values.
*/
- out_be32(&reg->kick0r, RTC_KICK0R_WE);
- out_be32(&reg->kick1r, RTC_KICK1R_WE);
+ writel(RTC_KICK0R_WE, &reg->kick0r);
+ writel(RTC_KICK1R_WE, &reg->kick1r);
out_be32(&reg->scratch0, a);
out_be32(&reg->scratch1, BOOTCOUNT_MAGIC);
}