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

Signed-off-by: Tom Rini <trini@konsulko.com>
board/samsung/common/exynos5-dt-types.c
include/configs/odroid_xu3.h

index 554fc91cc1a36c799f19fb39c24f52522081131b..9294d36ba358afa67e41213dd606d8912a93b558 100644 (file)
@@ -57,7 +57,7 @@ static int odroid_get_adc_val(unsigned int *adcval)
        unsigned int adcval_prev = 0;
        int ret, retries = 20;
 
-       ret = adc_channel_single_shot("adc@12D10000", CONFIG_ODROID_REV_AIN,
+       ret = adc_channel_single_shot("adc@12D10000", CFG_ODROID_REV_AIN,
                                      &adcval_prev);
        if (ret)
                return ret;
@@ -66,7 +66,7 @@ static int odroid_get_adc_val(unsigned int *adcval)
                mdelay(5);
 
                ret = adc_channel_single_shot("adc@12D10000",
-                                             CONFIG_ODROID_REV_AIN, adcval);
+                                             CFG_ODROID_REV_AIN, adcval);
                if (ret)
                        return ret;
 
index 2bac017ea083a9e2e1cbb3165c7b52b08a93423a..7304851d0f331d3f5ba2cc918ac19bd6285d3161 100644 (file)
@@ -52,7 +52,7 @@
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
 
 /* Set soc_rev, soc_id, board_rev, board_name, fdtfile */
-#define CONFIG_ODROID_REV_AIN          9
+#define CFG_ODROID_REV_AIN             9
 
 /*
  * Need to override existing one (smdk5420) with odroid so set_board_info will