From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 987C8C4321E for ; Sun, 4 Dec 2022 15:23:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 33E2D8532A; Sun, 4 Dec 2022 16:14:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="M2icy7bH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A365285320; Sun, 4 Dec 2022 16:14:27 +0100 (CET) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4D0ED85300 for ; Sun, 4 Dec 2022 16:14:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ej1-x630.google.com with SMTP id n20so22376302ejh.0 for ; Sun, 04 Dec 2022 07:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=m8mvXh3s/ErsCZ3YvMA+Hk3PfHVEqK7ihZjdt85pdVE=; b=M2icy7bHjb+vXIGgAVPmWMpNH7rgCKs4PAnsXEH+1YqvCZ5+T7QvpFYGH+yfFWwWFD XIDd7PveP02p7BTSmMiQS4R+R6OVmpvBIaxZjZiU6AvH/Siwi0W6nAblzPNRIL7bCetF jgKGq78KFTbOM8ghWKTnFkBEGJhDLtsVAhpoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m8mvXh3s/ErsCZ3YvMA+Hk3PfHVEqK7ihZjdt85pdVE=; b=lFZXw8VlPLhVhQzaU5zyO64y5lfK06WBbntmH/WzL4mKmEPPIVlQHWJIhPBWHwjDIv PCniLFOOHEqenna5YA6RU64Clx4NLqBv8JwTq2RCy2JRtVgDxyM6hvZJ4JFcingFCrAk BKwMCT3IlGFLp7hxrsb39lnjuBHWgUi5/SrUeDK7zwbETmDy+cheTO6+Zt4/2fUADYda XKgKvZM+Xw4qEFb7f35G0O/wgtD9U9tZMwXDectmOHDGoA6x0jD2apvvJVSbi7tyhpus o+agM+zbOaL8ULuMMTbNRsXkS4CDeseA+RitMoZzV8XZ6EodymBxokSsMNA0Nuh9vNMs kIaQ== X-Gm-Message-State: ANoB5pnkNmp9zmorY2FT/OEMyuQpb68wtGLYyiwpc0XNAaAS3TwWdAbW X9hkVu1Al8qBvfho9b0RPXWm4LnzAieqq7zq X-Google-Smtp-Source: AA0mqf7Ep0yJLjDNN3ooADYkxyl5kxAUkYOf0kL/agrPyx7BrPmtmlbrd2voI/IBrF0UE6KZCKy13w== X-Received: by 2002:a17:906:3e41:b0:78d:bc9f:33da with SMTP id t1-20020a1709063e4100b0078dbc9f33damr65068429eji.80.1670166864684; Sun, 04 Dec 2022 07:14:24 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id b21-20020aa7c915000000b00461816beef9sm5174405edt.14.2022.12.04.07.14.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:14:24 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 092/149] global: Migrate CONFIG_ODROID_REV_AIN to CFG Date: Sun, 4 Dec 2022 10:13:23 -0500 Message-Id: <20221204151420.56851-2-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204151420.56851-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204151420.56851-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Perform a simple rename of CONFIG_ODROID_REV_AIN to CFG_ODROID_REV_AIN Signed-off-by: Tom Rini --- 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@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 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