get_ticks() for AT91RM9200
Hi there,
as mentioned before the AT91RM9200 port was missing a get_ticks() function. I made a lot of white space fixes as well because now the similarities _and_ differences with other ARM implementations are more obvious when doing a "diff".
I added get_ticks() because it was needed by the NFS implementation. However it looks like get_ticks() is hardly use in U-Boot. I think get_timer() is used in most cases...
CHANGELOG:
* Patch by Steven Scholz, 27 Feb 2004:
- Adding get_ticks() and get_tbclk() for AT91RM9200
- Many white space fixes in cpu/at91rm9200/interrupts.c
Thanks,
Signature · 14 lines
Steven Scholz imc Measurement & Control imc Me?systeme GmbH Voltastr. 5 Voltastr. 5 13355 Berlin 13355 Berlin Germany Deutschland -------------- next part -------------- A non-text attachment was scrubbed... Name: at91_timer.patch.gz Type: application/x-gzip Size: 2315 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20040227/bfb99279/attachment.bin
Quoted 3 lines · Steven Scholz
I added
get_ticks()because it was needed by the NFS implementation. However it looks likeget_ticks()is hardly use in U-Boot. I thinkget_timer()is used in most cases...
I thought get_ticks() was already implemented in all CPU, because it is used in common/main.c and I was only interested in the implementation of MIPS CPU.
get_ticks() in NFS seems to be the obstruction for another. Should I change to get_timer(0) ?
Masami Komiya
Quoted 6 lines · I wrote:
...
CHANGELOG:* Patch by Steven Scholz, 27 Feb 2004:
- Addingget_ticks()andget_tbclk()for AT91RM9200
- Many white space fixes incpu/at91rm9200/interrupts.c
This one is not yet in the CVS.
Thanks,
Steven
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 4 lines
* Patch by Steven Scholz, 27 Feb 2004:
- Addingget_ticks()andget_tbclk()for AT91RM9200
- Many white space fixes incpu/at91rm9200/interrupts.cThis one is not yet in the CVS.
Thanks for the reminder, added.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de You can do this in a number of ways. IBM chose to do all of them. Why do you find that funny? -- D. Taylor, Computer Science 350