Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91193
b: refs/heads/master
c: 2bac1de
h: refs/heads/master
i:
  91191: f9698bf
v: v3
  • Loading branch information
Lennert Buytenhek authored and Nicolas Pitre committed Mar 27, 2008
1 parent 5de00f5 commit 07efe02
Show file tree
Hide file tree
Showing 10 changed files with 246 additions and 193 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abc0197d7a74e51a1581ce9971d7c2c0f2adadaf
refs/heads/master: 2bac1de2031aa4cad88a437d4410ec289da4f7dc
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-orion/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
obj-y += common.o addr-map.o pci.o gpio.o irq.o time.o
obj-y += common.o addr-map.o pci.o gpio.o irq.o
obj-$(CONFIG_MACH_DB88F5281) += db88f5281-setup.o
obj-$(CONFIG_MACH_RD88F5182) += rd88f5182-setup.o
obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-orion/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
#include <asm/timex.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <asm/arch/hardware.h>
#include <asm/arch/orion.h>
#include <asm/arch/platform.h>
#include <asm/plat-orion/time.h>
#include "common.h"

/*****************************************************************************
Expand Down Expand Up @@ -295,6 +298,19 @@ void __init orion_sata_init(struct mv_sata_platform_data *sata_data)
platform_device_register(&orion_sata);
}

/*****************************************************************************
* Time handling
****************************************************************************/

static void orion_timer_init(void)
{
orion_time_init(IRQ_ORION_BRIDGE, ORION_TCLK);
}

struct sys_timer orion_timer = {
.init = orion_timer_init,
};

/*****************************************************************************
* General
****************************************************************************/
Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/arm/mach-orion/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
void __init orion_map_io(void);
void __init orion_init_irq(void);
void __init orion_init(void);
extern struct sys_timer orion_timer;

/*
* Enumerations and functions for Orion windows mapping. Used by Orion core
Expand Down Expand Up @@ -56,11 +57,6 @@ struct pci_bus *orion_pci_sys_scan_bus(int nr, struct pci_sys_data *sys);
void __init orion_gpio_set_valid_pins(u32 pins);
void gpio_display(void); /* debug */

/*
* Orion system timer (clocksource + clockevnt, /mach-orion/time.c)
*/
extern struct sys_timer orion_timer;

/*
* Pull in Orion Ethernet platform_data, used by machine-setup
*/
Expand Down
181 changes: 0 additions & 181 deletions trunk/arch/arm/mach-orion/time.c

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-orion/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#

obj-y := irq.o pcie.o
obj-y := irq.o pcie.o time.o
obj-m :=
obj-n :=
obj- :=
Loading

0 comments on commit 07efe02

Please sign in to comment.