Skip to content

Commit

Permalink
[PATCH] sh: Simplistic clock framework
Browse files Browse the repository at this point in the history
This adds a relatively simplistic clock framework for sh.  The initial goal
behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU
subtype-specific frequency setting and calculation code moved somewhere more
sensible.

This only deals with the core clocks at the moment, though it's trivial for
other drivers to define their own clocks as desired.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Paul Mundt authored and Linus Torvalds committed Jan 17, 2006
1 parent b66c1a3 commit 36ddf31
Show file tree
Hide file tree
Showing 19 changed files with 1,287 additions and 623 deletions.
2 changes: 1 addition & 1 deletion arch/sh/boards/overdrive/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the STMicroelectronics Overdrive specific parts of the kernel
#

obj-y := mach.o setup.o io.o irq.o led.o time.o
obj-y := mach.o setup.o io.o irq.o led.o

obj-$(CONFIG_PCI) += fpga.o galileo.o pcidma.o

6 changes: 1 addition & 5 deletions arch/sh/boards/overdrive/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#include <asm/overdrive/overdrive.h>
#include <asm/overdrive/fpga.h>

extern void od_time_init(void);

const char *get_system_type(void)
{
return "SH7750 Overdrive";
Expand All @@ -31,11 +29,9 @@ int __init platform_setup(void)
{
#ifdef CONFIG_PCI
init_overdrive_fpga();
galileo_init();
galileo_init();
#endif

board_time_init = od_time_init;

/* Enable RS232 receive buffers */
writel(0x1e, OVERDRIVE_CTRL);
}
119 changes: 0 additions & 119 deletions arch/sh/boards/overdrive/time.c

This file was deleted.

Loading

0 comments on commit 36ddf31

Please sign in to comment.