From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 16 Dec 2010 15:12:41 +0100 Subject: [U-Boot] arm926ejs, timer: In-Reply-To: <4D05687F.9090100@emk-elektronik.de> References: <4D01E1EB.5040206@denx.de> <4D01E738.5080600@emk-elektronik.de> <4D01E898.2080103@emk-elektronik.de> <4D01EA19.8070200@emk-elektronik.de> <20101212211655.D4684D4D673@gemini.denx.de> <4D05687F.9090100@emk-elektronik.de> Message-ID: <20101216141241.C87BDBB0BA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Reinhard Meyer, In message <4D05687F.9090100@emk-elektronik.de> you wrote: > > > NAK. Please let's agree on common names. Eventually we will even > > come up with a common implementation later (with just arch-specific > > "accessor" routines). > > Replace "arch" by "SoC" here! ARM itself does not have a timer (in contrast to > powerpc where tbu,tbl is part of the architecture) ! > > Then its a bad idea to take tbu,tbl out of the #ifdef AT91FAMILY part > when all other ARM timer implementations do not use tbu. > > Its simple to NAK attempts to come up with "common" names that are NOT > misnomers on some implementations... tbu, tbl are certainly misnomers on all > non AT91 timer implementations... Maybe we should lean back and have a look at what Linux is doing in this area? The recent patch series "64-bit sched_clock" on the lak ML seems to fit pretty well :-) See http://thread.gmane.org/gmane.linux.ports.arm.kernel/99740 Can we copy from Linux? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de ... The things love can drive a man to -- the ecstasies, the mise- ries, the broken rules, the desperate chances, the glorious failures and the glorious victories. -- McCoy, "Requiem for Methuselah", stardate 5843.7