[U-Boot] [RFC][PATCH 0/5][Timer]Timer cleanup, new API, x86 HAL
Graeme Russ
graeme.russ at gmail.com
Sun May 29 15:44:09 CEST 2011
This is a preview patch series for the new timer API implemented for the
x86 architecture. It provides a proof of concept for the API currently
under discussion. Some of the details are yet to be finalised, but
hopefully this patchset will give some insight into where we are going.
Note in particular the implementation of sync_timers() - It works very
well for systems with 1us tick sources, but is not at all generic for
more obscure clock frequencies - Bill Campbell will (hopefully ;))
provide a more robust function.
Enjoy
Graeme Russ (5):
[Timer]Remove calls to [set,reset]_timer outside arch/
[Timer]Fix misuse of ARM *timer_masked() functions
[x86]Fix Global Data usage in assembler files
[Timer]Create new timer API
[Timer]Add x86 timer HAL
arch/nios2/cpu/interrupts.c | 4 +++
arch/x86/cpu/sc520/sc520_timer.c | 46 ++++++++++++++++++++++++++---------
arch/x86/cpu/start.S | 3 +-
arch/x86/include/asm/global_data.h | 35 ++++++++++++---------------
arch/x86/include/asm/ic/sc520.h | 9 +-----
arch/x86/lib/board.c | 12 ++++++++-
arch/x86/lib/timer.c | 15 +-----------
board/BuS/EB+MCF-EV123/flash.c | 10 ++++---
board/armadillo/flash.c | 6 +++-
board/atmel/at91rm9200dk/flash.c | 10 ++++---
board/cerf250/flash.c | 14 ++++------
board/cm4008/flash.c | 10 ++++---
board/cm41xx/flash.c | 10 ++++---
board/cmc_pu2/flash.c | 11 ++++----
board/cobra5272/flash.c | 10 ++++---
board/cradle/flash.c | 10 ++++---
board/csb226/flash.c | 10 ++++---
board/dnp1110/flash.c | 14 ++++------
board/eNET/eNET.c | 11 ++++----
board/eNET/eNET_start.S | 13 +++++++++-
board/eNET/eNET_start16.S | 9 +++++++
board/ep7312/flash.c | 10 ++++---
board/gcplus/flash.c | 14 ++++------
board/idmr/flash.c | 10 ++++---
board/impa7/flash.c | 10 ++++---
board/innokom/flash.c | 10 ++++---
board/ixdp425/flash.c | 10 ++++---
board/lart/flash.c | 10 ++++---
board/lpd7a40x/flash.c | 10 ++++---
board/lubbock/flash.c | 14 ++++------
board/modnet50/flash.c | 14 ++++++----
board/mpl/vcma9/flash.c | 10 ++++---
board/mx1ads/syncflash.c | 2 +-
board/ns9750dev/flash.c | 15 ++++-------
board/pleb2/flash.c | 18 +++++++-------
board/samsung/smdk2400/flash.c | 10 ++++---
board/samsung/smdk2410/flash.c | 10 ++++---
board/sbc2410x/flash.c | 10 ++++---
board/scb9328/flash.c | 5 ++-
board/shannon/flash.c | 10 ++++---
board/ti/omap1610inn/flash.c | 15 ++++-------
board/ti/omap730p2/flash.c | 15 ++++-------
board/trab/cmd_trab.c | 6 ++--
board/trab/flash.c | 10 ++++---
board/xaeniax/flash.c | 14 ++++------
board/xm250/flash.c | 23 ++++++++---------
board/zylonite/flash.c | 14 ++++------
drivers/block/mg_disk.c | 1 -
drivers/mtd/cfi_flash.c | 2 -
drivers/mtd/spi/eeprom_m95xxx.c | 5 ++-
drivers/net/fec_mxc.c | 6 ++--
drivers/net/netarm_eth.c | 12 +++++----
drivers/spi/atmel_dataflash_spi.c | 5 ++-
include/common.h | 4 +++
lib/asm-offsets.c | 3 ++
lib/time.c | 45 +++++++++++++++++++++++++++++++++++
56 files changed, 382 insertions(+), 272 deletions(-)
--
1.7.5.2.317.g391b14
More information about the U-Boot
mailing list