[PATCH 02/10] Convert CONFIG_SYS_HZ to Kconfig

Tom Rini trini at konsulko.com
Sun Oct 31 04:03:49 CET 2021


This converts the following to Kconfig:
	CONFIG_SYS_HZ

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/include/asm/arch-stv0991/stv0991_gpt.h | 1 -
 include/configs/MCR3000.h                       | 2 --
 include/configs/amcore.h                        | 2 --
 include/configs/ap121.h                         | 1 -
 include/configs/ap143.h                         | 1 -
 include/configs/ap152.h                         | 1 -
 include/configs/ci20.h                          | 1 -
 include/configs/cl-som-imx7.h                   | 2 --
 include/configs/colibri_imx7.h                  | 2 --
 include/configs/colibri_vf.h                    | 2 --
 include/configs/dart_6ul.h                      | 2 --
 include/configs/display5.h                      | 1 -
 include/configs/gazerbeam.h                     | 1 -
 include/configs/imx6-engicam.h                  | 2 --
 include/configs/imx6dl-mamoj.h                  | 2 --
 include/configs/imx7-cm.h                       | 2 --
 include/configs/kontron-sl-mx6ul.h              | 2 --
 include/configs/kontron-sl-mx8mm.h              | 2 --
 include/configs/liteboard.h                     | 1 -
 include/configs/ls1012a_common.h                | 2 --
 include/configs/ls1043aqds.h                    | 2 --
 include/configs/ls1046aqds.h                    | 2 --
 include/configs/meerkat96.h                     | 2 --
 include/configs/mt7620.h                        | 1 -
 include/configs/mt7628.h                        | 1 -
 include/configs/mx6ul_14x14_evk.h               | 2 --
 include/configs/mx6ullevk.h                     | 2 --
 include/configs/mx7dsabresd.h                   | 2 --
 include/configs/mx7ulp_evk.h                    | 2 --
 include/configs/mys_6ulx.h                      | 2 --
 include/configs/npi_imx6ull.h                   | 2 --
 include/configs/omapl138_lcdk.h                 | 1 -
 include/configs/pcl063.h                        | 2 --
 include/configs/pcl063_ull.h                    | 2 --
 include/configs/pico-imx6ul.h                   | 2 --
 include/configs/pico-imx7d.h                    | 2 --
 include/configs/qemu-arm.h                      | 1 -
 include/configs/s5p4418_nanopi2.h               | 1 -
 include/configs/smegw01.h                       | 2 --
 include/configs/somlabs_visionsom_6ull.h        | 2 --
 include/configs/synquacer.h                     | 1 -
 include/configs/tbs2910.h                       | 2 --
 include/configs/tplink_wdr4300.h                | 1 -
 include/configs/warp7.h                         | 2 --
 include/configs/xpress.h                        | 2 --
 45 files changed, 75 deletions(-)

diff --git a/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h b/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
index f1d5667c32bf..5b12d90d5859 100644
--- a/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
+++ b/arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
@@ -36,7 +36,6 @@ struct gpt_regs *const gpt1_regs_ptr =
 #define GPT_FREE_RUNNING		0xFFFF
 
 /* Timer, HZ specific defines */
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_HZ_CLOCK		((27 * 1000 * 1000) / GPT_PRESCALER_128)
 
 #endif
diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
index 73858c56e515..bfb092ab170a 100644
--- a/include/configs/MCR3000.h
+++ b/include/configs/MCR3000.h
@@ -60,8 +60,6 @@
 
 /* Miscellaneous configurable options */
 
-#define	CONFIG_SYS_HZ			1000
-
 /* Definitions for initial stack pointer and data area (in DPRAM) */
 #define CONFIG_SYS_INIT_RAM_ADDR	(CONFIG_SYS_IMMR + 0x2800)
 #define	CONFIG_SYS_INIT_RAM_SIZE	(0x2e00 - 0x2800)
diff --git a/include/configs/amcore.h b/include/configs/amcore.h
index 98ad047bc4cd..ee2df6c6cf63 100644
--- a/include/configs/amcore.h
+++ b/include/configs/amcore.h
@@ -27,8 +27,6 @@
 		"erase 0xfff00000 0xffffffff; "			\
 		"cp.b 0x20000 0xfff00000 ${filesize}\0"
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_CLK			45000000
 #define CONFIG_SYS_CPU_CLK		(CONFIG_SYS_CLK * 2)
 /* Register Base Addrs */
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
index f3fc53ba484f..e23a7dc49565 100644
--- a/include/configs/ap121.h
+++ b/include/configs/ap121.h
@@ -6,7 +6,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_SYS_HZ                   1000
 #define CONFIG_SYS_MHZ                  200
 #define CONFIG_SYS_MIPS_TIMER_FREQ      (CONFIG_SYS_MHZ * 1000000)
 
diff --git a/include/configs/ap143.h b/include/configs/ap143.h
index fa13a801b771..80b64da93ff5 100644
--- a/include/configs/ap143.h
+++ b/include/configs/ap143.h
@@ -6,7 +6,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_SYS_HZ                   1000
 #define CONFIG_SYS_MHZ                  325
 #define CONFIG_SYS_MIPS_TIMER_FREQ      (CONFIG_SYS_MHZ * 1000000)
 
diff --git a/include/configs/ap152.h b/include/configs/ap152.h
index 3eaf19283bba..762cc67aa6c7 100644
--- a/include/configs/ap152.h
+++ b/include/configs/ap152.h
@@ -6,7 +6,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_SYS_HZ                   1000
 #define CONFIG_SYS_MHZ                  375
 #define CONFIG_SYS_MIPS_TIMER_FREQ      (CONFIG_SYS_MHZ * 1000000)
 
diff --git a/include/configs/ci20.h b/include/configs/ci20.h
index 1d4503ba5312..cefc8157216d 100644
--- a/include/configs/ci20.h
+++ b/include/configs/ci20.h
@@ -10,7 +10,6 @@
 #define __CONFIG_CI20_H__
 
 /* Ingenic JZ4780 clock configuration. */
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_MHZ			1200
 #define CONFIG_SYS_MIPS_TIMER_FREQ	(CONFIG_SYS_MHZ * 1000000)
 
diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h
index ebfe356eee0d..fe72bfd95cb9 100644
--- a/include/configs/cl-som-imx7.h
+++ b/include/configs/cl-som-imx7.h
@@ -92,8 +92,6 @@
 	"echo eMMC boot attempt ...; run emmcbootscript; run emmcboot; " \
 	"echo USB boot attempt ...; run usbbootscript; "
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 344b266db9e6..ac188ee3ac65 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -170,8 +170,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 25a772914a27..71fe768d6792 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -110,8 +110,6 @@
 #define CONFIG_SYS_CBSIZE		1024	/* Console I/O Buffer Size */
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical memory map */
 #define PHYS_SDRAM			(0x80000000)
 #define PHYS_SDRAM_SIZE			(256 * SZ_1M)
diff --git a/include/configs/dart_6ul.h b/include/configs/dart_6ul.h
index 6f861a099862..3080ae7cae4f 100644
--- a/include/configs/dart_6ul.h
+++ b/include/configs/dart_6ul.h
@@ -47,8 +47,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 #define PHYS_SDRAM_SIZE			SZ_512M
diff --git a/include/configs/display5.h b/include/configs/display5.h
index 27854dfdf1e2..329a60f1d206 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -312,7 +312,6 @@
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
 
 #define CONFIG_STANDALONE_LOAD_ADDR	0x10001000
-#define CONFIG_SYS_HZ			1000
 
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
diff --git a/include/configs/gazerbeam.h b/include/configs/gazerbeam.h
index 12d108d6d6d7..ec5fc1569652 100644
--- a/include/configs/gazerbeam.h
+++ b/include/configs/gazerbeam.h
@@ -59,7 +59,6 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_HZ		1000	/* decrementer freq: 1ms ticks */
 
 #define CONFIG_SYS_CBSIZE	1024 /* Console I/O Buffer Size */
 
diff --git a/include/configs/imx6-engicam.h b/include/configs/imx6-engicam.h
index 9af0a0404031..238d61549cf4 100644
--- a/include/configs/imx6-engicam.h
+++ b/include/configs/imx6-engicam.h
@@ -100,8 +100,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 #ifdef CONFIG_MX6UL
 # define DRAM_OFFSET(x)			0x87##x
 # define FDT_ADDR			__stringify(DRAM_OFFSET(800000))
diff --git a/include/configs/imx6dl-mamoj.h b/include/configs/imx6dl-mamoj.h
index 367f78d125d4..24f9ccc0de35 100644
--- a/include/configs/imx6dl-mamoj.h
+++ b/include/configs/imx6dl-mamoj.h
@@ -62,8 +62,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/imx7-cm.h b/include/configs/imx7-cm.h
index 4d4c94b74eaa..553c7fe2ea95 100644
--- a/include/configs/imx7-cm.h
+++ b/include/configs/imx7-cm.h
@@ -72,8 +72,6 @@
 
 #define CONFIG_BOOTCOMMAND "run boot${boot-mode}"
 
-#define CONFIG_SYS_HZ				1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM					MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/kontron-sl-mx6ul.h b/include/configs/kontron-sl-mx6ul.h
index 65aa25089426..34304f910285 100644
--- a/include/configs/kontron-sl-mx6ul.h
+++ b/include/configs/kontron-sl-mx6ul.h
@@ -22,8 +22,6 @@
 #define CONFIG_SYS_INIT_RAM_ADDR	IRAM_BASE_ADDR
 #define CONFIG_SYS_INIT_RAM_SIZE	IRAM_SIZE
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_INIT_SP_OFFSET \
 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 #define CONFIG_SYS_INIT_SP_ADDR \
diff --git a/include/configs/kontron-sl-mx8mm.h b/include/configs/kontron-sl-mx8mm.h
index 0d9ab3b75585..52aa4473a2fd 100644
--- a/include/configs/kontron-sl-mx8mm.h
+++ b/include/configs/kontron-sl-mx8mm.h
@@ -22,8 +22,6 @@
 #define CONFIG_SYS_INIT_RAM_ADDR	0x40000000
 #define CONFIG_SYS_INIT_RAM_SIZE	0x200000
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_INIT_SP_OFFSET \
 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 #define CONFIG_SYS_INIT_SP_ADDR \
diff --git a/include/configs/liteboard.h b/include/configs/liteboard.h
index dc6f15a2a228..b2f5134fc5c6 100644
--- a/include/configs/liteboard.h
+++ b/include/configs/liteboard.h
@@ -101,7 +101,6 @@
 	   "else run netboot; fi"
 
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_HZ			1000
 
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 8a49f2d0075d..d072eaab8716 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -59,8 +59,6 @@
 #define CONFIG_SYS_NS16550_REG_SIZE     1
 #define CONFIG_SYS_NS16550_CLK          (get_serial_clock())
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_HWCONFIG
 #define HWCONFIG_BUFFER_SIZE		128
 
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index 1d15f2fc5853..ee5660571e54 100644
--- a/include/configs/ls1043aqds.h
+++ b/include/configs/ls1043aqds.h
@@ -344,8 +344,6 @@ unsigned long get_board_sys_clk(void);
  * Miscellaneous configurable options
  */
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_INIT_SP_OFFSET \
 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 
diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
index 2e3824041c9b..987df5f6e5c0 100644
--- a/include/configs/ls1046aqds.h
+++ b/include/configs/ls1046aqds.h
@@ -360,8 +360,6 @@ unsigned long get_board_sys_clk(void);
  * Miscellaneous configurable options
  */
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_INIT_SP_OFFSET \
 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 
diff --git a/include/configs/meerkat96.h b/include/configs/meerkat96.h
index ac9a75bf2dea..ab8fa85f25eb 100644
--- a/include/configs/meerkat96.h
+++ b/include/configs/meerkat96.h
@@ -14,8 +14,6 @@
 
 #define PHYS_SDRAM_SIZE			SZ_512M
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/mt7620.h b/include/configs/mt7620.h
index a2de03429218..5a8862775bd6 100644
--- a/include/configs/mt7620.h
+++ b/include/configs/mt7620.h
@@ -8,7 +8,6 @@
 #ifndef __CONFIG_MT7620_H
 #define __CONFIG_MT7620_H
 
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_MIPS_TIMER_FREQ	290000000
 
 #define CONFIG_SYS_MONITOR_BASE		CONFIG_SYS_TEXT_BASE
diff --git a/include/configs/mt7628.h b/include/configs/mt7628.h
index e53e6a0d0a0e..8c4455b9fe13 100644
--- a/include/configs/mt7628.h
+++ b/include/configs/mt7628.h
@@ -8,7 +8,6 @@
 #ifndef __CONFIG_MT7628_H
 #define __CONFIG_MT7628_H
 
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_MIPS_TIMER_FREQ	290000000
 
 #define CONFIG_SYS_MONITOR_BASE		CONFIG_SYS_TEXT_BASE
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 9ddb47910f3c..0b777fbbdc09 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -124,8 +124,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index 247d5e1bcc3a..e384d2a26962 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -121,8 +121,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 92ce741768d6..f11e2e3f807f 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -87,8 +87,6 @@
 
 #include <config_distro_bootcmd.h>
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index 567a037089d7..6d7f09e2885e 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -112,8 +112,6 @@
 		   "fi; " \
 	   "fi"
 
-#define CONFIG_SYS_HZ			1000
-
 #define CONFIG_SYS_INIT_RAM_ADDR	IRAM_BASE_ADDR
 #define CONFIG_SYS_INIT_RAM_SIZE	SZ_256K
 
diff --git a/include/configs/mys_6ulx.h b/include/configs/mys_6ulx.h
index 04c9879ccca5..6801fc109eae 100644
--- a/include/configs/mys_6ulx.h
+++ b/include/configs/mys_6ulx.h
@@ -21,8 +21,6 @@
 /* MMC Configs */
 #define CONFIG_SYS_FSL_ESDHC_ADDR	USDHC2_BASE_ADDR
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 #define PHYS_SDRAM_SIZE			SZ_256M
diff --git a/include/configs/npi_imx6ull.h b/include/configs/npi_imx6ull.h
index 70e2898c1450..a10607ff66fc 100644
--- a/include/configs/npi_imx6ull.h
+++ b/include/configs/npi_imx6ull.h
@@ -23,8 +23,6 @@
 
 #define CONFIG_NETMASK			255.255.255.0
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 4227610566dc..f2352d821616 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -21,7 +21,6 @@
 #define CONFIG_SYS_OSCIN_FREQ		24000000
 #define CONFIG_SYS_TIMERBASE		DAVINCI_TIMER0_BASE
 #define CONFIG_SYS_HZ_CLOCK		clk_get(DAVINCI_AUXCLK_CLKID)
-#define CONFIG_SYS_HZ			1000
 
 /*
  * Memory Info
diff --git a/include/configs/pcl063.h b/include/configs/pcl063.h
index f29f6dc5857e..31b7d07a24cd 100644
--- a/include/configs/pcl063.h
+++ b/include/configs/pcl063.h
@@ -33,8 +33,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 #define PHYS_SDRAM_SIZE			SZ_256M
diff --git a/include/configs/pcl063_ull.h b/include/configs/pcl063_ull.h
index c1da1a011946..20ba3f192b04 100644
--- a/include/configs/pcl063_ull.h
+++ b/include/configs/pcl063_ull.h
@@ -36,8 +36,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 #define PHYS_SDRAM_SIZE			SZ_256M
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index 6fed7522bddd..250e7747e7b5 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -108,8 +108,6 @@
 #include <config_distro_bootcmd.h>
 #include <linux/stringify.h>
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index c0464278b987..cbac95054923 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -107,8 +107,6 @@
 #include <config_distro_bootcmd.h>
 #include <linux/stringify.h>
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index bb4240a12848..1287fd167156 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -18,7 +18,6 @@
 #define CONFIG_SYS_BOOTM_LEN		SZ_64M
 
 /* For timer, QEMU emulates an ARMv7/ARMv8 architected timer */
-#define CONFIG_SYS_HZ                       1000
 
 /* Environment options */
 
diff --git a/include/configs/s5p4418_nanopi2.h b/include/configs/s5p4418_nanopi2.h
index 21feba0569e4..f49f5faa7f12 100644
--- a/include/configs/s5p4418_nanopi2.h
+++ b/include/configs/s5p4418_nanopi2.h
@@ -72,7 +72,6 @@
 /* Not used: not need IRQ/FIQ stuff */
 #undef  CONFIG_USE_IRQ
 /* decrementer freq: 1ms ticks */
-#define CONFIG_SYS_HZ			1000
 
 /*-----------------------------------------------------------------------
  *  System initialize options (board_init_f)
diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index 55ca80198511..bbdd42b1afb8 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -41,8 +41,6 @@
 		"run mmcboot; " \
 	"fi; " \
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/somlabs_visionsom_6ull.h b/include/configs/somlabs_visionsom_6ull.h
index 6af908afe6a7..a153c13a7ce6 100644
--- a/include/configs/somlabs_visionsom_6ull.h
+++ b/include/configs/somlabs_visionsom_6ull.h
@@ -68,8 +68,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h
index 13e9c64387ed..aac7b5dc3877 100644
--- a/include/configs/synquacer.h
+++ b/include/configs/synquacer.h
@@ -6,7 +6,6 @@
 #define __CONFIG_H
 
 /* Timers for fasp(TIMCLK) */
-#define CONFIG_SYS_HZ			1000		/* 1 msec */
 #define CONFIG_SYS_TIMERBASE		0x31080000	/* AP Timer 1 (ARM-SP804) */
 
 /*
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 0438b5ae0c6d..58ccafc385ad 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -12,8 +12,6 @@
 
 /* General configuration */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define CONFIG_SYS_SDRAM_BASE		MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/tplink_wdr4300.h b/include/configs/tplink_wdr4300.h
index 3e76d638c99e..e6dc9f17fed6 100644
--- a/include/configs/tplink_wdr4300.h
+++ b/include/configs/tplink_wdr4300.h
@@ -6,7 +6,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_SYS_HZ			1000
 #define CONFIG_SYS_MHZ			280
 #define CONFIG_SYS_MIPS_TIMER_FREQ	(CONFIG_SYS_MHZ * 1000000)
 
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 74fb988b7651..00031d87c120 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -96,8 +96,6 @@
 		   "fi; " \
 	   "fi"
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 
diff --git a/include/configs/xpress.h b/include/configs/xpress.h
index 1e2b6c09543e..51fee4406850 100644
--- a/include/configs/xpress.h
+++ b/include/configs/xpress.h
@@ -20,8 +20,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ			1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM			MMDC0_ARB_BASE_ADDR
 #define PHYS_SDRAM_SIZE			(128 << 20)
-- 
2.25.1



More information about the U-Boot mailing list