diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/enbw/enbw_cmc/enbw_cmc.c | 4 |
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 5cd5357..98dda1e 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(®->kick0r, RTC_KICK0R_WE); - out_be32(®->kick1r, RTC_KICK1R_WE); + writel(RTC_KICK0R_WE, ®->kick0r); + writel(RTC_KICK1R_WE, ®->kick1r); out_be32(®->scratch0, a); out_be32(®->scratch1, BOOTCOUNT_MAGIC); } |