summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-12-04 10:13:23 -0500
committerTom Rini <[email protected]>2022-12-23 10:14:51 -0500
commit1c3ba55798e3552739f06356aaeb18e66ec49a3c (patch)
treed60f363141e00166e5e51045183cde424eef6130
parentdd11fdc31fb82f63258c1970a6d8d22b8ffd3173 (diff)
global: Migrate CONFIG_ODROID_REV_AIN to CFG
Perform a simple rename of CONFIG_ODROID_REV_AIN to CFG_ODROID_REV_AIN Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--board/samsung/common/exynos5-dt-types.c4
-rw-r--r--include/configs/odroid_xu3.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/board/samsung/common/exynos5-dt-types.c b/board/samsung/common/exynos5-dt-types.c
index 554fc91cc1a..9294d36ba35 100644
--- a/board/samsung/common/exynos5-dt-types.c
+++ b/board/samsung/common/exynos5-dt-types.c
@@ -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;
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index 2bac017ea08..7304851d0f3 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -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