Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5B6FC433EF for ; Sun, 31 Oct 2021 03:04:50 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB92060F92 for ; Sun, 31 Oct 2021 03:04:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CB92060F92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 741AE832C4; Sun, 31 Oct 2021 04:04:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 2CE7783531; Sun, 31 Oct 2021 04:04:13 +0100 (CET) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 58BB58296F for ; Sun, 31 Oct 2021 04:04:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f41.google.com with SMTP id d6so9092444qvb.3 for ; Sat, 30 Oct 2021 20:04:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=26+v9t8bhr4esQnuEsA71/cS8Tw41jFyhLC77OlOr7U=; b=1WjqqilWN1rUM6asNjvRQdXpy32ZciQLtGgcJ2dsx0BMnu/OoVNoJvWQgtPXM58FZx fjg6RfCSQAs5cfjwkqAXPBLYCkp/I8x+awr3JhG4s8aDz5Vt1X6czb6XM6BIgyDUAe2f Hik3J8ElHaLHKrSwYlcZrXZN11djeKOo/o5TAoisL+pWUOacMT2Jj0npzVylah1OU2xn f4BWuVoGCPVHbDd41jiTABE9t48ukKrMSbCsvUJRxBSakgKhFSCyWUAQfB4c3pe7T0XE HDpenuNAzG14SR9LVT88o0Uk1SoA50bP928QG7VAxAYJLL+4o02epzXgcrWfsPsAd8ue bhpg== X-Gm-Message-State: AOAM531/4LUbvWVXGlcZhvH/ME31RfcsiiQKl1apdGaKO7SOHd+U+D2Y T+maAu6CDrRGWPWKnXj37UkF+W4zew== X-Google-Smtp-Source: ABdhPJw7N5Nbem3KyrlIULXDjiCeQEXSktmrhlx+rLKpI68a6XGrtvkAKRi+DJQwVc71Btuz7PPRhw== X-Received: by 2002:a05:6214:2a45:: with SMTP id jf5mr6653702qvb.50.1635649444087; Sat, 30 Oct 2021 20:04:04 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-69ae-7072-bc75-c5b7.res6.spectrum.com. [2603:6081:7b01:cbda:69ae:7072:bc75:c5b7]) by smtp.gmail.com with ESMTPSA id g10sm7565291qko.38.2021.10.30.20.04.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 20:04:03 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 02/10] Convert CONFIG_SYS_HZ to Kconfig Date: Sat, 30 Oct 2021 23:03:49 -0400 Message-Id: <20211031030357.1240731-2-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211031030357.1240731-1-trini@konsulko.com> References: <20211031030357.1240731-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_SYS_HZ Signed-off-by: Tom Rini --- 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 -#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 #include -#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 #include -#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