From d6b0f9d0936c5433f317ffe5c6761aa413decdc0 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sat, 20 Feb 2010 20:45:00 +0000 Subject: Add per board struct describing the external clock setup. SVN-Revision: 19783 --- .../mips/include/asm/mach-jz4740/board-qi_lb60.h | 5 --- .../arch/mips/include/asm/mach-jz4740/clock.h | 1 - .../arch/mips/include/asm/mach-jz4740/jz4740.h | 3 -- .../files-2.6.32/arch/mips/jz4740/board-n526.c | 45 ++++++++-------------- .../files-2.6.32/arch/mips/jz4740/board-qi_lb60.c | 12 ++++-- .../xburst/files-2.6.32/arch/mips/jz4740/clock.c | 5 ++- .../xburst/files-2.6.32/arch/mips/jz4740/clock.h | 11 ++++++ .../xburst/files-2.6.32/arch/mips/jz4740/reset.c | 4 +- .../xburst/files-2.6.32/arch/mips/jz4740/setup.c | 6 +-- .../xburst/files-2.6.32/arch/mips/jz4740/time.c | 10 +---- 10 files changed, 47 insertions(+), 55 deletions(-) diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-qi_lb60.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-qi_lb60.h index e5de9da..cfbf073 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-qi_lb60.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-qi_lb60.h @@ -20,11 +20,6 @@ #define __ASM_JZ4740_QI_LB60_H__ #include -/* - * Frequencies of on-board oscillators - */ -#define JZ_EXTAL 12000000 /* Main extal freq: 12 MHz */ -#define JZ_EXTAL_RTC 32768 /* RTC extal freq: 32.768 KHz */ /* * GPIO diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/clock.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/clock.h index c75c07b..1f8e53b 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/clock.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/clock.h @@ -23,7 +23,6 @@ enum jz4740_wait_mode JZ4740_WAIT_MODE_SLEEP, }; -int jz_init_clocks(unsigned long ext_rate); void jz4740_clock_set_wait_mode(enum jz4740_wait_mode mode); void jz4740_clock_udc_enable_auto_suspend(void); diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h index 7f9293a..9885db2 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/jz4740.h @@ -26,9 +26,6 @@ #include #endif -/* Add other platform definition here ... */ - - /*------------------------------------------------------------------ * Follows are related to platform definitions */ diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/board-n526.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/board-n526.c index fa46278..6e65417 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/board-n526.c +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/board-n526.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include