[U-Boot] [PATCH] MIPS: Move timer code to arch/mips/cpu/$(CPU)/

Aaron Williams Aaron.Williams at caviumnetworks.com
Wed May 11 03:20:17 CEST 2011


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


More information about the U-Boot mailing list