From: Lars-Peter Clausen Date: Sat, 20 Feb 2010 20:45:00 +0000 (+0000) Subject: Add per board struct describing the external clock setup. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6b0f9d0936c5433f317ffe5c6761aa413decdc0;p=openwrt%2Fstaging%2Fadrian.git Add per board struct describing the external clock setup. SVN-Revision: 19783 --- 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 e5de9da7a4..cfbf0733b2 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 c75c07b374..1f8e53b25a 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 7f9293a9aa..9885db2430 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 fa46278072..6e65417eb9 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