]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_TIMER_COUNTS_DOWN to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 16 Nov 2022 18:10:38 +0000 (13:10 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:06:07 +0000 (16:06 -0500)
This converts the following to Kconfig:
   CONFIG_SYS_TIMER_COUNTS_DOWN

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
40 files changed:
arch/arm/mach-kirkwood/include/mach/config.h
arch/sh/include/asm/config.h
configs/alt_defconfig
configs/bitmain_antminer_s9_defconfig
configs/blanche_defconfig
configs/gose_defconfig
configs/koelsch_defconfig
configs/lager_defconfig
configs/porter_defconfig
configs/r2dplus_defconfig
configs/silk_defconfig
configs/socfpga_arria5_defconfig
configs/socfpga_cyclone5_defconfig
configs/socfpga_dbm_soc1_defconfig
configs/socfpga_de0_nano_soc_defconfig
configs/socfpga_de10_nano_defconfig
configs/socfpga_de10_standard_defconfig
configs/socfpga_de1_soc_defconfig
configs/socfpga_is1_defconfig
configs/socfpga_mcvevk_defconfig
configs/socfpga_secu1_defconfig
configs/socfpga_sockit_defconfig
configs/socfpga_socrates_defconfig
configs/socfpga_sr1500_defconfig
configs/socfpga_vining_fpga_defconfig
configs/stout_defconfig
configs/syzygy_hub_defconfig
configs/topic_miami_defconfig
configs/topic_miamilite_defconfig
configs/topic_miamiplus_defconfig
configs/vexpress_ca9x4_defconfig
configs/xilinx_zynq_virt_defconfig
configs/zynq_cse_nand_defconfig
configs/zynq_cse_nor_defconfig
configs/zynq_cse_qspi_defconfig
include/configs/rcar-gen2-common.h
include/configs/socfpga_common.h
include/configs/vexpress_common.h
include/configs/zynq-common.h
lib/Kconfig

index ae1f6fee531e0311fedb722ff853a8f0fb8c6438..5186f6e4f9ad2b0c932b08e5844b0e4bc924a495 100644 (file)
@@ -52,7 +52,6 @@
 
 /* Use common timer */
 #ifndef CONFIG_TIMER
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (MVEBU_TIMER_BASE + 0x14)
 #define CONFIG_SYS_TIMER_RATE          CONFIG_SYS_TCLK
 #endif
index 09a15da4859d605080f45008453d1e3aa97726ef..99d8797a549f18e6ac8af46415ce8db5bf115111 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/processor.h>
 
 /* Timer */
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (TMU_BASE + 0xc)        /* TCNT0 */
 #define CONFIG_SYS_TIMER_RATE          (get_board_sys_clk() / 4)
 
index e4d6fc2d2cf3e44be85d02d66375a8da46a796f6..d28cdf4b366b5a4e05ec050c838cd3fccbbea8f1 100644 (file)
@@ -105,3 +105,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index cbcbc9b18db95c90b07153b1ea0914cd239ca1bc..02257176e3e281244e226342e7e53b52ed48a236 100644 (file)
@@ -93,4 +93,5 @@ CONFIG_ZYNQ_SERIAL=y
 # CONFIG_WATCHDOG is not set
 CONFIG_WDT=y
 CONFIG_WDT_CDNS=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_EFI_LOADER is not set
index bed73708074203b4587242f9d9d225e960eb6e78..630a13f9297ba26b208eaa2e4820fdc0ae9ca0f8 100644 (file)
@@ -81,3 +81,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 55222ebe01f7a84ea0a4f767346441bd3883a8e7..b918b131d383437c4a109b7fa4c2407729180c23 100644 (file)
@@ -103,3 +103,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index b4e6baef486ce84000a1d4c18b7cdb6aeeacc945..24eff4648edfda4563201b29f3f96d85bb356dfd 100644 (file)
@@ -103,3 +103,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 472d8dafc4367434bdba14edc93b7718c12b2373..56057e272dfa669f0289f012deb3ef52ac1720f5 100644 (file)
@@ -105,3 +105,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 83cc54aef908c1513e8296801c38040a8b95a646..ca56008cb50d67d7e264d1392c9239977a6f416d 100644 (file)
@@ -103,3 +103,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index cee9a1ff5c55490b19f539f9702e4f9e05b9711a..4217175345dacd51d456f80807c3d88152a72844 100644 (file)
@@ -57,4 +57,5 @@ CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_DM_SERIAL=y
 CONFIG_SERIAL_RX_BUFFER=y
 CONFIG_SCIF_CONSOLE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 9ff9e23ef98789a136ab890186f0190468177456..5005e1677fd682e7b5e5ad5e4c015db090012926 100644 (file)
@@ -105,3 +105,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 2951574464bd676135f956f51e4abff96160c12c..67c6e74eb846bb3d434ca47bf517f9999e78b188 100644 (file)
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 9c3c0f66b2eaca30ff0b8ebbc1c5fce78d4efa28..ce1a3492992e9428111228e2507629d07da0eb34 100644 (file)
@@ -79,3 +79,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index b3ba9ff21e2e47ac1011360448c87befa28217d5..01c29a25e34f0161221bceb7d0aca92bd5127df3 100644 (file)
@@ -82,3 +82,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 5f5706fbdb2283757d0ec7c31db1b4cc5e0a474c..905afb7d04612fe061c23b3ccb4884da3b162293 100644 (file)
@@ -75,3 +75,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 1f835bea9275606a7b71cbd77232a012f52c4275..f2a53ba247113fc05b682234720d6cd0c35392bf 100644 (file)
@@ -72,3 +72,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 412b0da0dbd1c15eb736e452b24998a868f4358b..dbf979ee476faa63dd077a97c30a2da0ac89753b 100644 (file)
@@ -72,3 +72,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 68a36892fb3db58622313c215100ac04bce0c58c..613bf44262046f91b4a8bec8bd9b4820fabb4499 100644 (file)
@@ -60,4 +60,5 @@ CONFIG_SPI=y
 CONFIG_USB=y
 CONFIG_USB_DWC2=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_EFI_LOADER is not set
index 3a21bc77a2e335d6372b021ada1470dca560743a..32d7b745207e95dc3d92c88af0a6c27ca2b2def6 100644 (file)
@@ -69,3 +69,4 @@ CONFIG_DM_RESET=y
 CONFIG_SPI=y
 CONFIG_CADENCE_QSPI=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 8be8b85c0c253533a80da9626833f2d904793c17..4d16ec32b61f5c0ca8d8d82e38549b3991f9b495 100644 (file)
@@ -73,3 +73,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index debe22f30ac2aaf29d5114edda9eb2e581ce4c60..7a805df5a342b147370d72f34a2e6ca847168417 100644 (file)
@@ -112,4 +112,5 @@ CONFIG_DESIGNWARE_SPI=y
 CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_GZIP is not set
index 31cc03a5fd89aafc4debb80422b98b985d8a841f..b3de6701f931bff48798f4e63494ec7a22de87c7 100644 (file)
@@ -79,3 +79,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 72a70375360c18f2de556ea714bd6dca1b28bea6..80a98712f67e99fc7f92c2f0dbda4abb87dca4b1 100644 (file)
@@ -80,3 +80,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 44e9ba6c884434f0fe94f38b18c71e16be302957..cbe37d22feb7511be6ec5eca57f2689d89673a6c 100644 (file)
@@ -76,3 +76,4 @@ CONFIG_DM_RESET=y
 CONFIG_SPI=y
 CONFIG_CADENCE_QSPI=y
 # CONFIG_SPL_WDT is not set
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 96c0ebbc0cd11447696e09776e2e26bcaa4dda65..cdad36bbfd8c7fddf6bcc1cf72d4296892969921 100644 (file)
@@ -116,3 +116,4 @@ CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 231e22a2a0b83eaae88ae3de14ec7c0ef4459a27..53dce6a161290d841823299695539770b43b89e8 100644 (file)
@@ -104,3 +104,4 @@ CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 179cb52212501ea7a7ca4860e1fb24c1ba2ad72c..aa28a68a865cc293d6feedacc4264d014756962e 100644 (file)
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index e3ed0b27327b3f75c84e8a958c0aec560f5335fa..96aa62a7ec12041c96cb01affbb4d2edbe4aeafb 100644 (file)
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index cb156562ba48c4dee2e2bf34289c8a14871f525a..41ba8a7487d1cccbd2861b1a44ed82f1a1c11778 100644 (file)
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 03d1887cdac4d326b6cd20ebb6ada5f8dd55aeb5..763bd8cccdd362537405110b714092488ade03b9 100644 (file)
@@ -78,3 +78,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 234686eb7b0c0d9c77b7fe20a2aa5317ab7b0287..70ce13ecccf71204eebfc433498a08de55df9145 100644 (file)
@@ -54,3 +54,4 @@ CONFIG_SMC911X=y
 CONFIG_SMC911X_32_BIT=y
 CONFIG_BAUDRATE=38400
 CONFIG_CONS_INDEX=0
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
index 1db3a2c635243089f04a4ae4be1ef6e4706577fc..a4c555dac5c550df66818e981d5e87a3767dcd06 100644 (file)
@@ -146,6 +146,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 CONFIG_SPL_GZIP=y
 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
 CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
index 7ca74837aecbcd4568d2cf104e341deeecd4b955..74c35f3a4d808e3074d5053ce3c535b3f0764e2e 100644 (file)
@@ -78,5 +78,6 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_ZYNQ=y
 CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_ARM_DCC=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_GZIP is not set
 # CONFIG_LMB is not set
index 28e9c459817cc6f33cab4391516c14a8ce4b5221..f1c648a8f9a6318c6c81b0b0f83ee0226c4da579 100644 (file)
@@ -80,5 +80,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_SYS_FLASH_QUIET_TEST=y
 CONFIG_ARM_DCC=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_GZIP is not set
 # CONFIG_LMB is not set
index 215d5ed5ebff1af8ca29e2b1f99a0bbb8e686c19..c623caf564897a19fefb809f0c9fa3e392d6599e 100644 (file)
@@ -90,5 +90,6 @@ CONFIG_SPI_FLASH_WINBOND=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_ARM_DCC=y
 CONFIG_ZYNQ_QSPI=y
+CONFIG_SYS_TIMER_COUNTS_DOWN=y
 # CONFIG_GZIP is not set
 # CONFIG_LMB is not set
index 61b9447ea5f5c9fafd4898c4448a99afe41853f9..606a0a7ecde1d126458d4a3016e405bbe619eed4 100644 (file)
@@ -22,7 +22,6 @@
 
 /* Timer */
 #define CONFIG_TMU_TIMER
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (TMU_BASE + 0xc)        /* TCNT0 */
 #define CONFIG_SYS_TIMER_RATE          (get_board_sys_clk() / 8)
 
index 2656c97767309ff608d9dca3988cb80c7b642e0a..7ef7c5da8289fe4a8d463815a053eaee02aee1e0 100644 (file)
@@ -55,7 +55,6 @@
  */
 #ifndef CONFIG_TIMER
 #define CONFIG_SYS_TIMERBASE           SOCFPGA_OSC1TIMER0_ADDRESS
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (CONFIG_SYS_TIMERBASE + 0x4)
 #ifndef CONFIG_SYS_TIMER_RATE
 #define CONFIG_SYS_TIMER_RATE          25000000
index ef136c75a83c756f10bde4679d97b42d31ae859c..de571f63ee125b65c060c61db607eeb3d09be407 100644 (file)
 
 #define CONFIG_SYS_TIMER_RATE          1000000
 #define CONFIG_SYS_TIMER_COUNTER       (V2M_TIMER01 + 0x4)
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 
 /* PL011 Serial Configuration */
 #define CONFIG_PL011_CLOCK             24000000
index 6574cf92e26ee1e5fa4c2465e4025952f1bae7bb..2d6522af81b843d7efe2b597acc77105e74bb5b7 100644 (file)
@@ -16,7 +16,6 @@
 
 #define ZYNQ_SCUTIMER_BASEADDR         0xF8F00600
 #define CONFIG_SYS_TIMERBASE           ZYNQ_SCUTIMER_BASEADDR
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (CONFIG_SYS_TIMERBASE + 0x4)
 
 /* GUIDs for capsule updatable firmware images */
index 6abe1d0a863badc503961bb24a6977f2df4d8a23..c39fc52321471894123b0130a84e29a6e369a771 100644 (file)
@@ -15,6 +15,9 @@ config SYS_NUM_ADDR_MAP
        help
          Sets the number of entries in the virtual-physical mapping table.
 
+config SYS_TIMER_COUNTS_DOWN
+       bool "System timer counts down rathe than up"
+
 config PHYSMEM
        bool "Access to physical memory region (> 4G)"
        help