summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2022-07-10 17:15:14 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2022-11-02 21:42:32 +0100
commita29491ade0adf3dbb9dc51be8b45530edde1f1df (patch)
treee062207fc28a9cac81e4559f69619bc5bc5d72ae /include
parentea24b0eacfffa7c3e7d25aa8e3d75d11fb13dca8 (diff)
downloadu-boot-a29491ade0adf3dbb9dc51be8b45530edde1f1df.tar.gz
MIPS: convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MIPS_TIMER_REQ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ap121.h2
-rw-r--r--include/configs/ap143.h2
-rw-r--r--include/configs/ap152.h2
-rw-r--r--include/configs/bmips_bcm3380.h3
-rw-r--r--include/configs/bmips_bcm6318.h3
-rw-r--r--include/configs/bmips_bcm63268.h3
-rw-r--r--include/configs/bmips_bcm6328.h3
-rw-r--r--include/configs/bmips_bcm6338.h3
-rw-r--r--include/configs/bmips_bcm6348.h3
-rw-r--r--include/configs/bmips_bcm6358.h3
-rw-r--r--include/configs/bmips_bcm6362.h3
-rw-r--r--include/configs/bmips_bcm6368.h3
-rw-r--r--include/configs/bmips_bcm6838.h3
-rw-r--r--include/configs/boston.h1
-rw-r--r--include/configs/ci20.h3
-rw-r--r--include/configs/gardena-smart-gateway-mt7688.h3
-rw-r--r--include/configs/imgtec_xilfpga.h2
-rw-r--r--include/configs/linkit-smart-7688.h3
-rw-r--r--include/configs/malta.h1
-rw-r--r--include/configs/mt7620.h2
-rw-r--r--include/configs/mt7621.h2
-rw-r--r--include/configs/mt7628.h2
-rw-r--r--include/configs/pic32mzdask.h2
-rw-r--r--include/configs/tplink_wdr4300.h2
-rw-r--r--include/configs/vcoreiii.h5
-rw-r--r--include/configs/vocore2.h3
26 files changed, 0 insertions, 67 deletions
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
index 61cc073a8a..650140bb72 100644
--- a/include/configs/ap121.h
+++ b/include/configs/ap121.h
@@ -6,8 +6,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 200000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
diff --git a/include/configs/ap143.h b/include/configs/ap143.h
index 579b9b4f2c..0eed8db23b 100644
--- a/include/configs/ap143.h
+++ b/include/configs/ap143.h
@@ -6,8 +6,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 325000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
diff --git a/include/configs/ap152.h b/include/configs/ap152.h
index 283762fd22..7124711119 100644
--- a/include/configs/ap152.h
+++ b/include/configs/ap152.h
@@ -6,8 +6,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 375000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
diff --git a/include/configs/bmips_bcm3380.h b/include/configs/bmips_bcm3380.h
index 66c23cd1d7..c328f41420 100644
--- a/include/configs/bmips_bcm3380.h
+++ b/include/configs/bmips_bcm3380.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 166500000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6318.h b/include/configs/bmips_bcm6318.h
index 55c1d439d5..d16d50e5ec 100644
--- a/include/configs/bmips_bcm6318.h
+++ b/include/configs/bmips_bcm6318.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 166500000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm63268.h b/include/configs/bmips_bcm63268.h
index f046b7e662..f69c46b11c 100644
--- a/include/configs/bmips_bcm63268.h
+++ b/include/configs/bmips_bcm63268.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 200000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6328.h b/include/configs/bmips_bcm6328.h
index 7e488072ed..acd021ecad 100644
--- a/include/configs/bmips_bcm6328.h
+++ b/include/configs/bmips_bcm6328.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 160000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6338.h b/include/configs/bmips_bcm6338.h
index b8a962dfa2..fa9e5f02a0 100644
--- a/include/configs/bmips_bcm6338.h
+++ b/include/configs/bmips_bcm6338.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 120000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6348.h b/include/configs/bmips_bcm6348.h
index b23ab6a13c..bcf5c874d3 100644
--- a/include/configs/bmips_bcm6348.h
+++ b/include/configs/bmips_bcm6348.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 128000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6358.h b/include/configs/bmips_bcm6358.h
index 106af2d277..e31b8bc719 100644
--- a/include/configs/bmips_bcm6358.h
+++ b/include/configs/bmips_bcm6358.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 150000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6362.h b/include/configs/bmips_bcm6362.h
index 34e542544c..6e707d341b 100644
--- a/include/configs/bmips_bcm6362.h
+++ b/include/configs/bmips_bcm6362.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 200000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6368.h b/include/configs/bmips_bcm6368.h
index fb1d760a8f..bb72c8cb53 100644
--- a/include/configs/bmips_bcm6368.h
+++ b/include/configs/bmips_bcm6368.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 200000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/bmips_bcm6838.h b/include/configs/bmips_bcm6838.h
index 481dfc20b3..a1c992b7a6 100644
--- a/include/configs/bmips_bcm6838.h
+++ b/include/configs/bmips_bcm6838.h
@@ -8,9 +8,6 @@
#include <linux/sizes.h>
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 160000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/boston.h b/include/configs/boston.h
index 5d6da77205..a09e831c54 100644
--- a/include/configs/boston.h
+++ b/include/configs/boston.h
@@ -13,7 +13,6 @@
/*
* CPU
*/
-#define CONFIG_SYS_MIPS_TIMER_FREQ 30000000
/*
* PCI
diff --git a/include/configs/ci20.h b/include/configs/ci20.h
index 7e8a9fcb80..d094fb594f 100644
--- a/include/configs/ci20.h
+++ b/include/configs/ci20.h
@@ -9,9 +9,6 @@
#ifndef __CONFIG_CI20_H__
#define __CONFIG_CI20_H__
-/* Ingenic JZ4780 clock configuration. */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 1200000000
-
/* Memory configuration */
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
diff --git a/include/configs/gardena-smart-gateway-mt7688.h b/include/configs/gardena-smart-gateway-mt7688.h
index 5f33470dfc..965fa87c65 100644
--- a/include/configs/gardena-smart-gateway-mt7688.h
+++ b/include/configs/gardena-smart-gateway-mt7688.h
@@ -6,9 +6,6 @@
#ifndef __CONFIG_GARDENA_SMART_GATEWAY_H
#define __CONFIG_GARDENA_SMART_GATEWAY_H
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 290000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/imgtec_xilfpga.h b/include/configs/imgtec_xilfpga.h
index 599b0c50de..1fc45f9060 100644
--- a/include/configs/imgtec_xilfpga.h
+++ b/include/configs/imgtec_xilfpga.h
@@ -15,8 +15,6 @@
/*--------------------------------------------
* CPU configuration
*/
-/* CPU Timer rate */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 50000000
/*----------------------------------------------------------------------
* Memory Layout
diff --git a/include/configs/linkit-smart-7688.h b/include/configs/linkit-smart-7688.h
index a65decd3fd..9eedd47c07 100644
--- a/include/configs/linkit-smart-7688.h
+++ b/include/configs/linkit-smart-7688.h
@@ -6,9 +6,6 @@
#ifndef __CONFIG_LINKIT_SMART_7688_H
#define __CONFIG_LINKIT_SMART_7688_H
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 290000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 080d8aa862..ff70a5972a 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -18,7 +18,6 @@
/*
* CPU Configuration
*/
-#define CONFIG_SYS_MIPS_TIMER_FREQ 250000000
/*
* Memory map
diff --git a/include/configs/mt7620.h b/include/configs/mt7620.h
index c6bee5f140..c76e1fcaed 100644
--- a/include/configs/mt7620.h
+++ b/include/configs/mt7620.h
@@ -8,8 +8,6 @@
#ifndef __CONFIG_MT7620_H
#define __CONFIG_MT7620_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 290000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_SP_OFFSET 0x400000
diff --git a/include/configs/mt7621.h b/include/configs/mt7621.h
index 1f68997080..554c435842 100644
--- a/include/configs/mt7621.h
+++ b/include/configs/mt7621.h
@@ -8,8 +8,6 @@
#ifndef __CONFIG_MT7621_H
#define __CONFIG_MT7621_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 440000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_VERY_BIG_RAM
diff --git a/include/configs/mt7628.h b/include/configs/mt7628.h
index 317d1d2b0f..43527017d8 100644
--- a/include/configs/mt7628.h
+++ b/include/configs/mt7628.h
@@ -8,8 +8,6 @@
#ifndef __CONFIG_MT7628_H
#define __CONFIG_MT7628_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 290000000
-
#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_SP_OFFSET 0x80000
diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h
index 0a07c9c29c..9d796f9f34 100644
--- a/include/configs/pic32mzdask.h
+++ b/include/configs/pic32mzdask.h
@@ -13,8 +13,6 @@
/*--------------------------------------------
* CPU configuration
*/
-/* CPU Timer rate */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 100000000
/*----------------------------------------------------------------------
* Memory Layout
diff --git a/include/configs/tplink_wdr4300.h b/include/configs/tplink_wdr4300.h
index 1400a211e3..b14726ad23 100644
--- a/include/configs/tplink_wdr4300.h
+++ b/include/configs/tplink_wdr4300.h
@@ -6,8 +6,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_SYS_MIPS_TIMER_FREQ 280000000
-
#define CONFIG_SYS_SDRAM_BASE 0xa0000000
#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h
index 5c5036b8be..02ddc6fb6e 100644
--- a/include/configs/vcoreiii.h
+++ b/include/configs/vcoreiii.h
@@ -12,11 +12,6 @@
#define CONFIG_SYS_INIT_SP_OFFSET 0x400000
-#if defined(CONFIG_SOC_LUTON) || defined(CONFIG_SOC_SERVAL)
-#define CONFIG_SYS_MIPS_TIMER_FREQ 208333333
-#else
-#define CONFIG_SYS_MIPS_TIMER_FREQ 250000000
-#endif
#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_MIPS_TIMER_FREQ
#define CONFIG_SYS_SDRAM_BASE 0x80000000
diff --git a/include/configs/vocore2.h b/include/configs/vocore2.h
index b2572caaf2..6f36d6964b 100644
--- a/include/configs/vocore2.h
+++ b/include/configs/vocore2.h
@@ -6,9 +6,6 @@
#ifndef __VOCORE2_CONFIG_H__
#define __VOCORE2_CONFIG_H__
-/* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ 290000000
-
/* RAM */
#define CONFIG_SYS_SDRAM_BASE 0x80000000