]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 f1d5667c32bf6da62f53f6500d8fe54453738e73..5b12d90d5859c621b8589be0b66e539a23beb221 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 73858c56e515c32ffe1cc7bb205c9a31b4dcd9cf..bfb092ab170abc4b4a76bbbdf0c8ad09b36b3c30 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 98ad047bc4cdf08198877c77646269208a5f6331..ee2df6c6cf63c7d86e03f89273ba7ad0cde6feb2 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 f3fc53ba484f03091be01e51b139b16b7f500b56..e23a7dc4956574e924fe6c886dc06d12f042fd22 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 fa13a801b7716787b7aa93df06cf6a3534c57036..80b64da93ff509f5cc9f8b1b0344c6bdb0e947ee 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 3eaf19283bba6dbc37a82872da54bfc22b55d696..762cc67aa6c7931b65381cf34802358d30cefda4 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 1d4503ba53122c3ef0802eaa29e824962fa10298..cefc8157216d104f41800c41542f40b4173c92f1 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 ebfe356eee0dd86f7c3a7b55a6dc4ec88ad991c1..fe72bfd95cb9b795216420a537ef9e0f0c6f73b0 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 344b266db9e6ca0aa7d669374d9bf500f3f09b3a..ac188ee3ac650307a8c6fac1ffbef93b69543957 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 25a772914a2720ba74c312ac6327692ff338796f..71fe768d67929f089dec1af21e8d367d725c8471 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 6f861a0998624a862635da42f5a043a26b451dd5..3080ae7cae4fab446b9c3a72e7b75f3c71e20198 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 27854dfdf1e20cecd7e289c31ee86837d865c99f..329a60f1d2062b0636d9b2bdc66b688a9d3f6d24 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 12d108d6d6d774dec6d2f7abe180100d413595a7..ec5fc156965290b50df4df016bb23429eab25b58 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 9af0a0404031c60090d55affbf0f260efb799889..238d61549cf4efce74af1de35e807bed716ea93b 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 367f78d125d4effbcf753d090d917dec66209c47..24f9ccc0de35864bf2c521999ff0959387921021 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 4d4c94b74eaa210288bcab59fcf58c2d3075edda..553c7fe2ea95d78610f60c1bad6ed92050dfff5c 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 65aa250894263edf44ef2b53c5805d853995c4b3..34304f9102851dd085ecb142da35863e7e9a25ad 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 0d9ab3b75585cb9d52ea4c62cce96bcda91f61e6..52aa4473a2fd219d6eb153cd582ff759bb2effe0 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 dc6f15a2a2282a8c270c13322fbb89a7242bca46..b2f5134fc5c68721aad85a61162b59c1db2aaa1f 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 8a49f2d0075d5e76ec8382ff65354548d2058008..d072eaab8716d84f563b1350158e87b28b0821cb 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 1d15f2fc5853d08114f425f663bb3f6c952a8442..ee5660571e54dda5bde86defa93183392801cc1a 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 2e3824041c9b2f7c31fb7079d72b8db482f6d72d..987df5f6e5c0331dd029e5935df0c0bf33e3ba5c 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 ac9a75bf2dea11a53e04475d7bed25c0efa48e17..ab8fa85f25ebb1411f41f9e044c5f30e2227e510 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 a2de03429218c1b90f9b883f3ec7a5b799ee7bb0..5a8862775bd629d03b7393ded144f960a235c9a1 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 e53e6a0d0a0e370fa1fe846805196f0a58fde72b..8c4455b9fe13e833449cc6755cf742029b71665b 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 9ddb47910f3c9079be06dbf672f1b15632210f32..0b777fbbdc09b2d6035fd00045bfea87fec7709f 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 247d5e1bcc3a5d39de43d687530168a77d6c69bc..e384d2a26962dbea5ec7a86695a64a8aa92e27a5 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 92ce741768d66ce49d99c6e95e6214a47212845f..f11e2e3f807f16537611e8f307fa70894cdb6a35 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 567a037089d7aa13832996a908757f2023c7c8a6..6d7f09e2885e35c487db82a787d999c5b070c757 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 04c9879ccca5bbbc6d5032ac9071b0396b127995..6801fc109eaef48d68f85e72f54fc4ad0b2f1f71 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 70e2898c14504f52b0fd4deead087097b7289593..a10607ff66fca0d704b8459948e3ce77328ae296 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 4227610566dcd76acf05b3b1bb1e49ec36679398..f2352d8216167460b64be541fa4998b44880fccd 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 f29f6dc5857e9f60eea8a80c6ccec2cf77b28f06..31b7d07a24cde6519787948445468678262401a6 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 c1da1a0119467de9c1c49bca6c042648168af069..20ba3f192b048d5f7ecf96f3ec92e6ed6629a50b 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 6fed7522bddd0fd3eafa93c3ae9a22729faf4065..250e7747e7b5836039a17591a5b3d6f03450269d 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 c0464278b98716903bc13bc8026b905ece39d235..cbac950549231fce6717d0e82525e98e23e41a98 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 bb4240a12848fee9ce2c0c2cef1f7a863402d669..1287fd167156d9e15856053bc7e4b2e735e8b5fb 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 21feba0569e4742e721166d89f5b79b85b4d41c3..f49f5faa7f123be40a8a6fa6c2005e1c017f10f4 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 55ca801985118a7c52230f779109e78423544bf2..bbdd42b1afb8c426c125a099ec1f709a3d3e272b 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 6af908afe6a7c41ba701c37f09b58a904784255b..a153c13a7ce67e3739665ad190d263fa84766884 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 13e9c64387ed30d3899ff7ff9d1677ad61c555b1..aac7b5dc3877bac6450b3ef6dd40aac3143f9bf0 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 0438b5ae0c6d3dfb6911c19f50a9974ee84eb267..58ccafc385adff5a888fb6a41184f60f82624f5f 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 3e76d638c99e8f566d0bd21bb5c21e2360328052..e6dc9f17fed6c7d61623852d091962d1dbce61ed 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 74fb988b7651166e8833c5ceb88e124560479abd..00031d87c1200835b4e6b28735e4e5ef57fd3b51 100644 (file)
@@ -96,8 +96,6 @@
                   "fi; " \
           "fi"
 
-#define CONFIG_SYS_HZ                  1000
-
 /* Physical Memory Map */
 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
 
index 1e2b6c09543e92f5dc5740f3b4e8d433e523644a..51fee440685058fe33a4f385cf7a8acf11a08ac3 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)