Convert CONFIG_SYS_HZ to Kconfig
authorTom Rini <trini@konsulko.com>
Sun, 31 Oct 2021 03:03:49 +0000 (23:03 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 5 Nov 2021 15:23:29 +0000 (11:23 -0400)
This converts the following to Kconfig:
CONFIG_SYS_HZ

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

index f1d5667..5b12d90 100644 (file)
@@ -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
index 73858c5..bfb092a 100644 (file)
@@ -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)
index 98ad047..ee2df6c 100644 (file)
@@ -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 */
index f3fc53b..e23a7dc 100644 (file)
@@ -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)
 
index fa13a80..80b64da 100644 (file)
@@ -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)
 
index 3eaf192..762cc67 100644 (file)
@@ -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)
 
index 1d4503b..cefc815 100644 (file)
@@ -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)
 
index ebfe356..fe72bfd 100644 (file)
@@ -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
 
index 344b266..ac188ee 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 25a7729..71fe768 100644 (file)
 #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)
index 6f861a0..3080ae7 100644 (file)
@@ -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
index 27854df..329a60f 100644 (file)
 #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
index 12d108d..ec5fc15 100644 (file)
@@ -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 */
 
index 9af0a04..238d615 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 #ifdef CONFIG_MX6UL
 # define DRAM_OFFSET(x)                        0x87##x
 # define FDT_ADDR                      __stringify(DRAM_OFFSET(800000))
index 367f78d..24f9ccc 100644 (file)
@@ -62,8 +62,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 4d4c94b..553c7fe 100644 (file)
@@ -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
 
index 65aa250..34304f9 100644 (file)
@@ -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 \
index 0d9ab3b..52aa447 100644 (file)
@@ -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 \
index dc6f15a..b2f5134 100644 (file)
           "else run netboot; fi"
 
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_HZ                  1000
 
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
index 8a49f2d..d072eaa 100644 (file)
@@ -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
 
index 1d15f2f..ee56605 100644 (file)
@@ -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)
 
index 2e38240..987df5f 100644 (file)
@@ -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)
 
index ac9a75b..ab8fa85 100644 (file)
@@ -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
 
index a2de034..5a88627 100644 (file)
@@ -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
index e53e6a0..8c4455b 100644 (file)
@@ -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
index 9ddb479..0b777fb 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 247d5e1..e384d2a 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 92ce741..f11e2e3 100644 (file)
@@ -87,8 +87,6 @@
 
 #include <config_distro_bootcmd.h>
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 567a037..6d7f09e 100644 (file)
                   "fi; " \
           "fi"
 
-#define CONFIG_SYS_HZ                  1000
-
 #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
 #define CONFIG_SYS_INIT_RAM_SIZE       SZ_256K
 
index 04c9879..6801fc1 100644 (file)
@@ -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
index 70e2898..a10607f 100644 (file)
@@ -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
 
index 4227610..f2352d8 100644 (file)
@@ -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
index f29f6dc..31b7d07 100644 (file)
@@ -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
index c1da1a0..20ba3f1 100644 (file)
@@ -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
index 6fed752..250e774 100644 (file)
 #include <config_distro_bootcmd.h>
 #include <linux/stringify.h>
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index c046427..cbac950 100644 (file)
 #include <config_distro_bootcmd.h>
 #include <linux/stringify.h>
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index bb4240a..1287fd1 100644 (file)
@@ -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 */
 
index 21feba0..f49f5fa 100644 (file)
@@ -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)
index 55ca801..bbdd42b 100644 (file)
@@ -41,8 +41,6 @@
                "run mmcboot; " \
        "fi; " \
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 6af908a..a153c13 100644 (file)
@@ -68,8 +68,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 13e9c64..aac7b5d 100644 (file)
@@ -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) */
 
 /*
index 0438b5a..58ccafc 100644 (file)
@@ -12,8 +12,6 @@
 
 /* General configuration */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define CONFIG_SYS_SDRAM_BASE          MMDC0_ARB_BASE_ADDR
 
index 3e76d63..e6dc9f1 100644 (file)
@@ -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)
 
index 74fb988..00031d8 100644 (file)
@@ -96,8 +96,6 @@
                   "fi; " \
           "fi"
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 1e2b6c0..51fee44 100644 (file)
@@ -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)