From 11ac20a361882cb37ce270216b403dbfeaba6a47 Mon Sep 17 00:00:00 2001 From: maralvira Date: Sun, 7 Nov 2010 14:22:51 +0000 Subject: [PATCH] REF_OSC is a 32-bit number, not 64-bit number --- cpu/mc1322x/lib/include/crm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/mc1322x/lib/include/crm.h b/cpu/mc1322x/lib/include/crm.h index 9da0840a4..111c7d4dd 100644 --- a/cpu/mc1322x/lib/include/crm.h +++ b/cpu/mc1322x/lib/include/crm.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id: crm.h,v 1.2 2010/11/07 14:21:33 maralvira Exp $ + * $Id: crm.h,v 1.3 2010/11/07 14:22:51 maralvira Exp $ */ #ifndef CRM_H @@ -270,7 +270,7 @@ static const int ROSC_EN = 0; #define ring_osc_on() (set_bit(*CRM_RINGOSC_CNTL,ROSC_EN)) #define ring_osc_off() (clear_bit(*CRM_RINGOSC_CNTL,ROSC_EN)) -#define REF_OSC 24000000ULL /* reference osc. frequency */ +#define REF_OSC 24000000UL /* reference osc. frequency */ #define NOMINAL_RING_OSC_SEC 2000 /* nominal ring osc. frequency */ extern uint32_t cal_rtc_secs; /* calibrated 2khz rtc seconds */