From: Aaron Williams Date: Tue, 10 May 2011 18:20:17 -0700 Subject: [U-Boot] [PATCH] MIPS: Move timer code to arch/mips/cpu/$(CPU)/ In-Reply-To: <4DBFF5A9.70605@pobox.com> References: <4DBFF5A9.70605@pobox.com> Message-ID: <201105101820.17290.Aaron.Williams@caviumnetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, May 03, 2011 05:31:37 AM Shinya Kuribayashi wrote: > We need to make sure that all MIPS-based systems don't necessarily use > CP0 counter/compare registers as time keeping resources. And some MIPS > variant processors might come with different hardware specs with genuine > MIPS32 CP0 registers. Surprisingly, time.c works fine for us with our 64-bit OCTEON MIPS support, though I had to remove references to a global in the init code because DRAM isn't initialized at that point. The only file in lib we are not able to use is board.c. -Aaron