diff options
Diffstat (limited to 'arch/sparc')
| -rw-r--r-- | arch/sparc/cpu/leon2/start.S | 5 | ||||
| -rw-r--r-- | arch/sparc/cpu/leon3/start.S | 5 | ||||
| -rw-r--r-- | arch/sparc/cpu/leon3/usb_uhci.c | 2 | ||||
| -rw-r--r-- | arch/sparc/lib/board.c | 2 | ||||
| -rw-r--r-- | arch/sparc/lib/interrupts.c | 12 | 
5 files changed, 4 insertions, 22 deletions
diff --git a/arch/sparc/cpu/leon2/start.S b/arch/sparc/cpu/leon2/start.S index f22fb7eb1..9cd6c667d 100644 --- a/arch/sparc/cpu/leon2/start.S +++ b/arch/sparc/cpu/leon2/start.S @@ -28,7 +28,6 @@  #include <asm/psr.h>  #include <asm/stack.h>  #include <asm/leon.h> -#include <timestamp.h>  #include <version.h>  /* Entry for traps which jump to a programmer-specified trap handler.  */ @@ -200,9 +199,7 @@ _trap_table:  	.data  	.globl	version_string  version_string: -	.ascii U_BOOT_VERSION -	.ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" -	.ascii CONFIG_IDENT_STRING, "\0" +	.ascii U_BOOT_VERSION_STRING, "\0"  	.section	".text"  	.align 4 diff --git a/arch/sparc/cpu/leon3/start.S b/arch/sparc/cpu/leon3/start.S index 56ae88d64..1e393a56e 100644 --- a/arch/sparc/cpu/leon3/start.S +++ b/arch/sparc/cpu/leon3/start.S @@ -28,7 +28,6 @@  #include <asm/psr.h>  #include <asm/stack.h>  #include <asm/leon.h> -#include <timestamp.h>  #include <version.h>  /* Entry for traps which jump to a programmer-specified trap handler.  */ @@ -201,9 +200,7 @@ _trap_table:  	.extern leon3_snooping_avail  	.globl	version_string  version_string: -	.ascii U_BOOT_VERSION -	.ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" -	.ascii CONFIG_IDENT_STRING, "\0" +	.ascii U_BOOT_VERSION_STRING, "\0"  	.section	".text"  	.align 4 diff --git a/arch/sparc/cpu/leon3/usb_uhci.c b/arch/sparc/cpu/leon3/usb_uhci.c index 8f99e1db1..b1269d260 100644 --- a/arch/sparc/cpu/leon3/usb_uhci.c +++ b/arch/sparc/cpu/leon3/usb_uhci.c @@ -70,7 +70,7 @@   *   * Interrupt Transfers.   * -------------------- - * For Interupt transfers USB_MAX_TEMP_INT_TD Transfer descriptor are available. They + * For Interrupt transfers USB_MAX_TEMP_INT_TD Transfer descriptor are available. They   * will be inserted after the appropriate (depending the interval setting) skeleton TD.   * If an interrupt has been detected the dev->irqhandler is called. The status and number   * of transfered bytes is stored in dev->irq_status resp. dev->irq_act_len. If the diff --git a/arch/sparc/lib/board.c b/arch/sparc/lib/board.c index 386cd0419..6b705e531 100644 --- a/arch/sparc/lib/board.c +++ b/arch/sparc/lib/board.c @@ -365,8 +365,6 @@ void board_init_f(ulong bootflag)  	udelay(20); -	set_timer(0); -  	/* Initialize from environment */  	if ((s = getenv("loadaddr")) != NULL) {  		load_addr = simple_strtoul(s, NULL, 16); diff --git a/arch/sparc/lib/interrupts.c b/arch/sparc/lib/interrupts.c index 4c73b82a6..61ee90b6d 100644 --- a/arch/sparc/lib/interrupts.c +++ b/arch/sparc/lib/interrupts.c @@ -90,26 +90,16 @@ void timer_interrupt(struct pt_regs *regs)  	timestamp++;  } -void reset_timer(void) -{ -	timestamp = 0; -} -  ulong get_timer(ulong base)  {  	return (timestamp - base);  } -void set_timer(ulong t) -{ -	timestamp = t; -} -  void timer_interrupt_init(void)  {  	int irq; -	reset_timer(); +	timestamp = 0;  	irq = timer_interrupt_init_cpu();  |