Browse Source

config: remove platform CONFIG_SYS_HZ definition part 3

This commit removes platform CONFIG_SYS_HZ definition for the
remainders of part1 (commit cdb23792) and part2 (commit f232950f).

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Masahiro Yamada 11 years ago
parent
commit
df2f6c9621

+ 0 - 2
board/fads/fads.h

@@ -127,8 +127,6 @@
 
 
 #define CONFIG_SYS_LOAD_ADDR		0x00100000
 #define CONFIG_SYS_LOAD_ADDR		0x00100000
 
 
-#define	CONFIG_SYS_HZ		        1000	/* decrementer freq: 1 ms ticks */
-
 /*
 /*
  * Low Level Configuration Settings
  * Low Level Configuration Settings
  * (address mappings, register initial values, etc.)
  * (address mappings, register initial values, etc.)

+ 0 - 1
include/configs/T1040QDS.h

@@ -669,7 +669,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000		/* decrementer freq: 1ms ticks*/
 
 
 /*
 /*
  * For booting Linux, the board info and command line data
  * For booting Linux, the board info and command line data

+ 0 - 1
include/configs/T1040RDB.h

@@ -596,7 +596,6 @@
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000		/* decrementer freq: 1ms ticks*/
 
 
 /*
 /*
  * For booting Linux, the board info and command line data
  * For booting Linux, the board info and command line data

+ 0 - 1
include/configs/T1042RDB_PI.h

@@ -604,7 +604,6 @@
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_MAXARGS	16		/* max number of command args */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000		/* decrementer freq: 1ms ticks*/
 
 
 /*
 /*
  * For booting Linux, the board info and command line data
  * For booting Linux, the board info and command line data

+ 0 - 1
include/configs/T2080QDS.h

@@ -680,7 +680,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
 #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
 #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
-#define CONFIG_SYS_HZ		1000	/* decrementer freq: 1ms ticks*/
 
 
 /*
 /*
  * For booting Linux, the board info and command line data
  * For booting Linux, the board info and command line data

+ 0 - 5
include/configs/apf27.h

@@ -355,11 +355,6 @@
 #define CONFIG_SYS_RTC_BUS_NUM		0
 #define CONFIG_SYS_RTC_BUS_NUM		0
 #endif /* CONFIG_CMD_DATE */
 #endif /* CONFIG_CMD_DATE */
 
 
-/*
- * Clocks
- */
-#define	CONFIG_SYS_HZ			1000	/* Ticks per second */
-
 /*
 /*
  * PLL
  * PLL
  *
  *

+ 0 - 1
include/configs/balloon3.h

@@ -84,7 +84,6 @@
  * Clock Configuration
  * Clock Configuration
  */
  */
 #undef	CONFIG_SYS_CLKS_IN_HZ
 #undef	CONFIG_SYS_CLKS_IN_HZ
-#define	CONFIG_SYS_HZ			1000
 #define	CONFIG_SYS_CPUSPEED		0x290		/* 520MHz */
 #define	CONFIG_SYS_CPUSPEED		0x290		/* 520MHz */
 
 
 /*
 /*

+ 0 - 1
include/configs/corvus.h

@@ -33,7 +33,6 @@
 /* ARM asynchronous clock */
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
-#define CONFIG_SYS_HZ		        1000
 
 
 #define CONFIG_AT91FAMILY
 #define CONFIG_AT91FAMILY
 
 

+ 0 - 1
include/configs/hummingboard.h

@@ -190,7 +190,6 @@
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 
 
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_LOADADDR
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_LOADADDR
-#define CONFIG_SYS_HZ			1000
 
 
 #define CONFIG_CMDLINE_EDITING
 #define CONFIG_CMDLINE_EDITING
 
 

+ 0 - 1
include/configs/koelsch.h

@@ -171,7 +171,6 @@
 #define CONFIG_SH_TMU_CLK_FREQ	CONFIG_SYS_CLK_FREQ
 #define CONFIG_SH_TMU_CLK_FREQ	CONFIG_SYS_CLK_FREQ
 #define CONFIG_SH_SCIF_CLK_FREQ	14745600
 #define CONFIG_SH_SCIF_CLK_FREQ	14745600
 #define CONFIG_SYS_TMU_CLK_DIV	4
 #define CONFIG_SYS_TMU_CLK_DIV	4
-#define CONFIG_SYS_HZ		1000
 
 
 /* i2c */
 /* i2c */
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_I2C

+ 0 - 1
include/configs/lager.h

@@ -196,6 +196,5 @@
 #define CONFIG_SH_SCIF_CLK_FREQ	CONFIG_MP_CLK_FREQ
 #define CONFIG_SH_SCIF_CLK_FREQ	CONFIG_MP_CLK_FREQ
 
 
 #define CONFIG_SYS_TMU_CLK_DIV	4
 #define CONFIG_SYS_TMU_CLK_DIV	4
-#define CONFIG_SYS_HZ		1000
 
 
 #endif	/* __LAGER_H */
 #endif	/* __LAGER_H */

+ 0 - 1
include/configs/palmld.h

@@ -115,7 +115,6 @@
  * Clock Configuration
  * Clock Configuration
  */
  */
 #undef	CONFIG_SYS_CLKS_IN_HZ
 #undef	CONFIG_SYS_CLKS_IN_HZ
-#define	CONFIG_SYS_HZ			1000
 #define	CONFIG_SYS_CPUSPEED		0x210		/* 416MHz ; N=2,L=16 */
 #define	CONFIG_SYS_CPUSPEED		0x210		/* 416MHz ; N=2,L=16 */
 
 
 /*
 /*

+ 0 - 1
include/configs/palmtc.h

@@ -117,7 +117,6 @@
  * Clock Configuration
  * Clock Configuration
  */
  */
 #undef	CONFIG_SYS_CLKS_IN_HZ
 #undef	CONFIG_SYS_CLKS_IN_HZ
-#define	CONFIG_SYS_HZ			1000
 #define	CONFIG_SYS_CPUSPEED		0x161		/* 400MHz;L=1 M=3 T=1 */
 #define	CONFIG_SYS_CPUSPEED		0x161		/* 400MHz;L=1 M=3 T=1 */
 
 
 /*
 /*

+ 0 - 1
include/configs/scb9328.h

@@ -69,7 +69,6 @@
 #define CONFIG_SYS_MEMTEST_START	0x08100000	      /* memtest test area   */
 #define CONFIG_SYS_MEMTEST_START	0x08100000	      /* memtest test area   */
 #define CONFIG_SYS_MEMTEST_END		0x08F00000
 #define CONFIG_SYS_MEMTEST_END		0x08F00000
 
 
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_CPUSPEED		0x141	     /* core clock - register value  */
 #define CONFIG_SYS_CPUSPEED		0x141	     /* core clock - register value  */
 
 
 #define CONFIG_BAUDRATE 115200
 #define CONFIG_BAUDRATE 115200

+ 0 - 1
include/configs/taurus.h

@@ -37,7 +37,6 @@
 /* ARM asynchronous clock */
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768		/* slow clock xtal */
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768		/* slow clock xtal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK	18432000	/* main clock xtal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK	18432000	/* main clock xtal */
-#define CONFIG_SYS_HZ			1000
 
 
 /* Misc CPU related */
 /* Misc CPU related */
 #define CONFIG_ARCH_CPU_INIT
 #define CONFIG_ARCH_CPU_INIT

+ 0 - 1
include/configs/udoo.h

@@ -199,7 +199,6 @@
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 
 
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_LOADADDR
 #define CONFIG_SYS_LOAD_ADDR		CONFIG_LOADADDR
-#define CONFIG_SYS_HZ			1000
 
 
 #define CONFIG_CMDLINE_EDITING
 #define CONFIG_CMDLINE_EDITING
 
 

+ 0 - 1
include/configs/usb_a9263.h

@@ -20,7 +20,6 @@
 /* ARM asynchronous clock */
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_MAIN_CLOCK	12000000	/* 12 MHz crystal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK	12000000	/* 12 MHz crystal */
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768
-#define CONFIG_SYS_HZ			1000
 
 
 #define CONFIG_MACH_TYPE		MACH_TYPE_USB_A9263
 #define CONFIG_MACH_TYPE		MACH_TYPE_USB_A9263
 
 

+ 0 - 1
include/configs/zipitz2.h

@@ -138,7 +138,6 @@ unsigned char zipitz2_spi_read(void);
  * Clock Configuration
  * Clock Configuration
  */
  */
 #undef	CONFIG_SYS_CLKS_IN_HZ
 #undef	CONFIG_SYS_CLKS_IN_HZ
-#define	CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_CPUSPEED		0x190		/* standard setting for 312MHz; L=16, N=1.5, A=0, SDCLK!=SystemBus */
 #define CONFIG_SYS_CPUSPEED		0x190		/* standard setting for 312MHz; L=16, N=1.5, A=0, SDCLK!=SystemBus */
 
 
 /*
 /*