[PATCH 092/149] global: Migrate CONFIG_ODROID_REV_AIN to CFG
Tom Rini
trini at konsulko.com
Sun Dec 4 16:13:23 CET 2022
Perform a simple rename of CONFIG_ODROID_REV_AIN to CFG_ODROID_REV_AIN
Signed-off-by: Tom Rini <trini at konsulko.com>
---
board/samsung/common/exynos5-dt-types.c | 4 ++--
include/configs/odroid_xu3.h | 2 +-
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 554fc91cc1a3..9294d36ba358 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 at 12D10000", CONFIG_ODROID_REV_AIN,
+ ret = adc_channel_single_shot("adc at 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 at 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 2bac017ea083..7304851d0f33 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
--
2.25.1
More information about the U-Boot
mailing list