Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191817
b: refs/heads/master
c: f4b8b31
h: refs/heads/master
i:
  191815: 5ba55a7
v: v3
  • Loading branch information
Russell King committed May 2, 2010
1 parent 5039677 commit c398e00
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 182 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: c5a0adb51002e51a4254cb7f0ab7190d41d8b930
refs/heads/master: f4b8b319bf21bf3576014ce7336763cd3e1684ef
6 changes: 6 additions & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ config ARCH_INTEGRATOR
select ICST
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
select PLAT_VERSATILE
help
Support for ARM's Integrator platform.

Expand All @@ -255,6 +256,7 @@ config ARCH_REALVIEW
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
select ARCH_WANT_OPTIONAL_GPIOLIB
select PLAT_VERSATILE
help
This enables support for ARM Ltd RealView boards.

Expand All @@ -268,6 +270,7 @@ config ARCH_VERSATILE
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
select ARCH_WANT_OPTIONAL_GPIOLIB
select PLAT_VERSATILE
help
This enables support for ARM Ltd Versatile board.

Expand Down Expand Up @@ -938,6 +941,9 @@ config PLAT_ORION
config PLAT_PXA
bool

config PLAT_VERSATILE
bool

source arch/arm/mm/Kconfig

config IWMMXT
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ plat-$(CONFIG_PLAT_PXA) := pxa
plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung
plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx samsung
plat-$(CONFIG_PLAT_S5P) := s5p samsung
plat-$(CONFIG_PLAT_VERSATILE) := versatile

ifeq ($(CONFIG_ARCH_EBSA110),y)
# This is what happens if you forget the IOCS16 line.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-integrator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Object file lists.

obj-y := clock.o core.o lm.o
obj-y := core.o lm.o
obj-$(CONFIG_ARCH_INTEGRATOR_AP) += integrator_ap.o
obj-$(CONFIG_ARCH_INTEGRATOR_CP) += integrator_cp.o

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

obj-y := core.o clock.o
obj-y := core.o
obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o
obj-$(CONFIG_MACH_REALVIEW_PB11MP) += realview_pb11mp.o
obj-$(CONFIG_MACH_REALVIEW_PB1176) += realview_pb1176.o
Expand Down
64 changes: 0 additions & 64 deletions trunk/arch/arm/mach-realview/clock.c

This file was deleted.

20 changes: 0 additions & 20 deletions trunk/arch/arm/mach-realview/clock.h

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-realview/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@

#include <asm/hardware/gic.h>

#include <mach/clkdev.h>
#include <mach/platform.h>
#include <mach/irqs.h>

#include "core.h"
#include "clock.h"

#define REALVIEW_REFCOUNTER (__io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_24MHz_OFFSET)

Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-realview/include/mach/clkdev.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#ifndef __ASM_MACH_CLKDEV_H
#define __ASM_MACH_CLKDEV_H

#include <asm/hardware/icst.h>

struct clk {
unsigned long rate;
const struct icst_params *params;
u32 oscoff;
void (*setvco)(struct clk *, struct icst_vco vco);
};

#define __clk_get(clk) ({ 1; })
#define __clk_put(clk) do { } while (0)

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-realview/realview_eb.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <mach/irqs.h>

#include "core.h"
#include "clock.h"

static struct map_desc realview_eb_io_desc[] __initdata = {
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-realview/realview_pb1176.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <mach/irqs.h>

#include "core.h"
#include "clock.h"

static struct map_desc realview_pb1176_io_desc[] __initdata = {
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-realview/realview_pb11mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <mach/irqs.h>

#include "core.h"
#include "clock.h"

static struct map_desc realview_pb11mp_io_desc[] __initdata = {
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-realview/realview_pba8.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <mach/irqs.h>

#include "core.h"
#include "clock.h"

static struct map_desc realview_pba8_io_desc[] __initdata = {
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-versatile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#

obj-y := core.o clock.o
obj-y := core.o
obj-$(CONFIG_ARCH_VERSATILE_PB) += versatile_pb.o
obj-$(CONFIG_MACH_VERSATILE_AB) += versatile_ab.o
obj-$(CONFIG_PCI) += pci.o
65 changes: 0 additions & 65 deletions trunk/arch/arm/mach-versatile/clock.c

This file was deleted.

21 changes: 0 additions & 21 deletions trunk/arch/arm/mach-versatile/clock.h

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-versatile/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <asm/mach/map.h>
#include <mach/clkdev.h>
#include <mach/hardware.h>
#include <mach/platform.h>

#include "core.h"
#include "clock.h"

/*
* All IO addresses are mapped onto VA 0xFFFx.xxxx, where x.xxxx
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-versatile/include/mach/clkdev.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#ifndef __ASM_MACH_CLKDEV_H
#define __ASM_MACH_CLKDEV_H

#include <asm/hardware/icst.h>

struct clk {
unsigned long rate;
const struct icst_params *params;
u32 oscoff;
void (*setvco)(struct clk *, struct icst_vco vco);
};

#define __clk_get(clk) ({ 1; })
#define __clk_put(clk) do { } while (0)

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/plat-versatile/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-y := clock.o
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/arch/arm/mach-integrator/clock.c
* linux/arch/arm/plat-versatile/clock.c
*
* Copyright (C) 2004 ARM Limited.
* Written by Deep Blue Solutions Limited.
Expand All @@ -15,7 +15,7 @@
#include <linux/mutex.h>

#include <asm/hardware/icst.h>
#include <asm/clkdev.h>

#include <mach/clkdev.h>

int clk_enable(struct clk *clk)
Expand Down

0 comments on commit c398e00

Please sign in to comment.