From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Fri, 15 Jul 2011 22:15:40 +1000 Subject: [U-Boot] [PATCH v2 0/7]Timer: Simplify API In-Reply-To: <1309261269-4363-1-git-send-email-graeme.russ@gmail.com> References: <1309261269-4363-1-git-send-email-graeme.russ@gmail.com> Message-ID: <1310732140-5174-1-git-send-email-graeme.russ@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch series is the first 'logical' half of the previous series titled '(WIP) [Timer]API Rewrite' which was a 16 part series This half (the first half) of the original series is a simplification of the existing API designed to correct a few 'implementation errors' and prepare the U-Boot tree for the new Timer API (which is still under active discussion). Changes since v1 ((WIP) [Timer]API Rewrite): - Rebased to 68d4230c3ccce96a72c5b99e48399bf1796fe3c6 - Tweaks to some patch titles - Changed title prefix from '[Timer]' to 'Timer:' (git eats [..]) - Introduce new #define CONFIG_SYS_LOW_RES_TIMER - Dropping of the entire second half of the series (the new Timer API) Graeme Russ (7): Timer: Fix misuse of ARM *timer_masked() functions outside arch/arm Timer: Remove calls to set_timer outside arch/ Timer: Remove set_timer completely Timer: Allow reset_timer() only for systems with low resolution timers Timer: Remove reset_timer() for non-Nios2 arches Timer: Fix at91rm9200/spi.c timer usage Timer: Remove reset_timer_masked() arch/arm/cpu/arm1136/mx31/timer.c | 17 ----------------- arch/arm/cpu/arm1136/mx35/timer.c | 9 --------- arch/arm/cpu/arm1136/omap24xx/timer.c | 24 +++++++----------------- arch/arm/cpu/arm1176/s3c64xx/timer.c | 17 ----------------- arch/arm/cpu/arm1176/tnetv107x/timer.c | 14 -------------- arch/arm/cpu/arm720t/interrupts.c | 17 ----------------- arch/arm/cpu/arm920t/a320/timer.c | 12 ------------ arch/arm/cpu/arm920t/at91/timer.c | 19 ------------------- arch/arm/cpu/arm920t/at91rm9200/spi.c | 5 +++-- arch/arm/cpu/arm920t/at91rm9200/timer.c | 18 ------------------ arch/arm/cpu/arm920t/ep93xx/timer.c | 15 +++------------ arch/arm/cpu/arm920t/imx/timer.c | 21 +++------------------ arch/arm/cpu/arm920t/ks8695/timer.c | 25 +++++-------------------- arch/arm/cpu/arm920t/s3c24x0/timer.c | 18 ------------------ arch/arm/cpu/arm925t/timer.c | 23 +++-------------------- arch/arm/cpu/arm926ejs/armada100/timer.c | 20 ++------------------ arch/arm/cpu/arm926ejs/davinci/timer.c | 5 ----- arch/arm/cpu/arm926ejs/kirkwood/timer.c | 20 ++------------------ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 19 +++---------------- arch/arm/cpu/arm926ejs/mx25/timer.c | 19 ------------------- arch/arm/cpu/arm926ejs/mx27/timer.c | 19 ------------------- arch/arm/cpu/arm926ejs/nomadik/timer.c | 12 +++++------- arch/arm/cpu/arm926ejs/omap/timer.c | 11 ----------- arch/arm/cpu/arm926ejs/orion5x/timer.c | 20 ++------------------ arch/arm/cpu/arm926ejs/pantheon/timer.c | 20 ++------------------ arch/arm/cpu/arm926ejs/spear/timer.c | 22 +++------------------- arch/arm/cpu/arm926ejs/versatile/timer.c | 11 ----------- arch/arm/cpu/armv7/mx5/timer.c | 20 ++++---------------- arch/arm/cpu/armv7/omap-common/timer.c | 21 +++------------------ arch/arm/cpu/armv7/s5p-common/timer.c | 10 ---------- arch/arm/cpu/armv7/tegra2/timer.c | 17 ----------------- arch/arm/cpu/armv7/u8500/timer.c | 5 ----- arch/arm/cpu/ixp/timer.c | 10 ---------- arch/arm/cpu/lh7a40x/timer.c | 11 ----------- arch/arm/cpu/pxa/timer.c | 18 +----------------- arch/arm/cpu/s3c44b0/timer.c | 18 ------------------ arch/arm/cpu/sa1100/timer.c | 16 ---------------- arch/avr32/cpu/interrupts.c | 23 ----------------------- arch/blackfin/cpu/interrupts.c | 5 ----- arch/m68k/cpu/mcf547x_8x/slicetimer.c | 9 --------- arch/m68k/lib/board.c | 2 -- arch/m68k/lib/time.c | 21 ++------------------- arch/microblaze/cpu/timer.c | 12 +----------- arch/mips/cpu/mips32/time.c | 12 ------------ arch/nios2/cpu/interrupts.c | 6 ------ arch/powerpc/lib/board.c | 2 -- arch/powerpc/lib/interrupts.c | 10 ---------- arch/sh/lib/time.c | 12 ------------ arch/sh/lib/time_sh2.c | 15 +-------------- arch/sparc/lib/board.c | 2 -- arch/sparc/lib/interrupts.c | 12 +----------- arch/x86/lib/board.c | 2 -- arch/x86/lib/timer.c | 10 ---------- board/BuS/EB+MCF-EV123/flash.c | 10 ++++++---- board/armadillo/flash.c | 6 ++++-- board/armltd/integrator/timer.c | 24 ++++-------------------- board/armltd/vexpress/ca9x4_ct_vxp.c | 5 ----- 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/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/lart/flash.c | 10 ++++++---- board/lpd7a40x/flash.c | 10 ++++++---- board/lubbock/flash.c | 14 ++++++-------- board/modnet50/flash.c | 14 ++++++++------ board/mx1ads/syncflash.c | 2 +- board/ns9750dev/flash.c | 15 ++++++--------- board/nvidia/common/board.c | 1 - board/pleb2/flash.c | 18 +++++++++--------- board/samsung/smdk2400/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/xaeniax/flash.c | 14 ++++++-------- board/xm250/flash.c | 23 +++++++++++------------ board/zylonite/flash.c | 14 ++++++-------- drivers/block/mg_disk.c | 2 ++ drivers/mtd/cfi_flash.c | 4 ++++ drivers/mtd/spi/eeprom_m95xxx.c | 5 +++-- drivers/net/fec_mxc.c | 6 +++--- drivers/net/netarm_eth.c | 12 +++++++----- include/common.h | 1 - include/configs/PCI5441.h | 1 + include/configs/PK1C20.h | 1 + include/configs/nios2-generic.h | 1 + 97 files changed, 274 insertions(+), 910 deletions(-) -- 1.7.5.2.317.g391b14