[U-Boot] [PATCH] ARM: rmobile: Zap CONFIG_SYS_CLK_FREQ where applicable

Marek Vasut marek.vasut at gmail.com
Sun Jun 10 14:32:56 UTC 2018


The CONFIG_SYS_CLK_FREQ is not used on some of the Gen3 boards,
remove it. Moreover, on Ebisu this actually didn't match the
comment in the config file at all, but since it was not used,
there was no real problem.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 include/configs/draak.h      | 4 ----
 include/configs/ebisu.h      | 4 ----
 include/configs/salvator-x.h | 4 ----
 include/configs/ulcb.h       | 4 ----
 4 files changed, 16 deletions(-)

diff --git a/include/configs/draak.h b/include/configs/draak.h
index e0a5344fbe..7aabf1178b 100644
--- a/include/configs/draak.h
+++ b/include/configs/draak.h
@@ -15,10 +15,6 @@
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
 
-/* Board Clock */
-/* XTAL_CLK : 33.33MHz */
-#define CONFIG_SYS_CLK_FREQ	33333333u
-
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 
diff --git a/include/configs/ebisu.h b/include/configs/ebisu.h
index 560fe5c45e..2e4974acb2 100644
--- a/include/configs/ebisu.h
+++ b/include/configs/ebisu.h
@@ -18,10 +18,6 @@
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
 
-/* Board Clock */
-/* XTAL_CLK : 33.33MHz */
-#define CONFIG_SYS_CLK_FREQ	48000000u
-
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 
diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h
index ecc6c5d80d..1bf2234918 100644
--- a/include/configs/salvator-x.h
+++ b/include/configs/salvator-x.h
@@ -15,10 +15,6 @@
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
 
-/* Board Clock */
-/* XTAL_CLK : 33.33MHz */
-#define CONFIG_SYS_CLK_FREQ	33333333u
-
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 
diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h
index 86c6ed3a36..6f2a0cc56d 100644
--- a/include/configs/ulcb.h
+++ b/include/configs/ulcb.h
@@ -15,10 +15,6 @@
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
 
-/* Board Clock */
-/* XTAL_CLK : 33.33MHz */
-#define CONFIG_SYS_CLK_FREQ	33333333u
-
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 
-- 
2.16.2



More information about the U-Boot mailing list