]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_IMX6_PWM_PER_CLK to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:12 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:10:40 +0000 (10:10 -0500)
Perform a simple rename of CONFIG_IMX6_PWM_PER_CLK to CFG_IMX6_PWM_PER_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/pwm/pwm-imx.c
include/configs/vining_2000.h

index 9b8a8c189d0938815436e59f04692afc28825f90..8fbb40cc276708e2137f64ece59eb4e99a54920a 100644 (file)
@@ -76,7 +76,7 @@ int pwm_imx_get_parms(int period_ns, int duty_ns, unsigned long *period_c,
         * value here as a define. Replace it when we have the clock
         * framework.
         */
-       c = CONFIG_IMX6_PWM_PER_CLK;
+       c = CFG_IMX6_PWM_PER_CLK;
        c = c * period_ns;
        do_div(c, 1000000000);
        *period_c = c;
index c84353ebea66bc079ea27eafb24765ffa5e8fb46..cdd2eeef0ac998ecf9d448bf744a5672f1957f9e 100644 (file)
@@ -43,7 +43,7 @@
 #define CONFIG_PCIE_IMX_PERST_GPIO     IMX_GPIO_NR(4, 6)
 #endif
 
-#define CONFIG_IMX6_PWM_PER_CLK 66000000
+#define CFG_IMX6_PWM_PER_CLK 66000000
 
 #ifdef CONFIG_ENV_IS_IN_MMC
 /* 0=user, 1=boot0, 2=boot1, * 4..7=general0..3. */