[PATCH 11/38] pwm: imx: Remove unused references to CONFIG_IMX6_PWM_PER_CLK

Tom Rini trini at konsulko.com
Sun Nov 20 00:45:18 CET 2022


On platforms that use DM_PWM, we do not need to define this value
anymore, so remove it from config files.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
For the record, vining_2000 does not use DM_PWM and requires
board-specific updates as well to switch, so we're going this path for
the moment.
---
 include/configs/aristainetos2.h | 2 --
 include/configs/ge_b1x5v2.h     | 3 ---
 include/configs/ge_bx50v3.h     | 2 --
 include/configs/mx53ppd.h       | 3 ---
 4 files changed, 10 deletions(-)

diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h
index c1eec5d06ccb..b1ec8ef269c6 100644
--- a/include/configs/aristainetos2.h
+++ b/include/configs/aristainetos2.h
@@ -424,8 +424,6 @@
 /* check this console not needed, after test remove it */
 #define CONFIG_IMX_VIDEO_SKIP
 
-#define CONFIG_IMX6_PWM_PER_CLK	66000000
-
 #define CONFIG_ENV_FLAGS_LIST_STATIC "ethaddr:mw,serial#:sw,board_type:sw," \
 		"sysnum:dw,panel:sw,ipaddr:iw,serverip:iw"
 
diff --git a/include/configs/ge_b1x5v2.h b/include/configs/ge_b1x5v2.h
index 97fe76cfa8ec..a8a6229f526f 100644
--- a/include/configs/ge_b1x5v2.h
+++ b/include/configs/ge_b1x5v2.h
@@ -12,9 +12,6 @@
 
 #include "mx6_common.h"
 
-/* PWM */
-#define CONFIG_IMX6_PWM_PER_CLK		66000000
-
 /* UART */
 #define CONFIG_MXC_UART_BASE		UART3_BASE
 
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index cbaf03c2a226..705cb763a66d 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -106,6 +106,4 @@
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
-#define CONFIG_IMX6_PWM_PER_CLK	66000000
-
 #endif	/* __GE_BX50V3_CONFIG_H */
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index 913bc1996d40..963dd92dd709 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -102,9 +102,6 @@
 
 /* FLASH and environment organization */
 
-/* Backlight Control */
-#define CONFIG_IMX6_PWM_PER_CLK 66666000
-
 #define CONFIG_IMX_VIDEO_SKIP
 
 #endif				/* __CONFIG_H */
-- 
2.25.1



More information about the U-Boot mailing list