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 B2A75C433FE for ; Sun, 20 Nov 2022 14:12:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10243852F1; Sun, 20 Nov 2022 15:09:36 +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="AEU/HFCd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DC6A9852C5; Sun, 20 Nov 2022 15:08:51 +0100 (CET) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 06316852BE for ; Sun, 20 Nov 2022 15:08:48 +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-qk1-x72f.google.com with SMTP id i9so6515763qki.10 for ; Sun, 20 Nov 2022 06:08:47 -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=MhPY7A9KnPWlYS0idx2NAbjQsb2fTTKmnrmDLOqqcXQ=; b=AEU/HFCd/5a5MqzmG3SyjQ1ou6OL2f/p2gpVEg+8CSHv515nOxpLGoE5eidl8fn19T w/gPdFeki6/YEBFFdbS2Ap48GKyElIyW6uPbZ3zfKle3SY5iGnVm4UUWCsLGDPhq7N3O c4uS9XPWZBMjRpGLdy5SNoFSAdPhwQXdl7WG0= 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=MhPY7A9KnPWlYS0idx2NAbjQsb2fTTKmnrmDLOqqcXQ=; b=Qs0rVl8sLyP0Aeq80TGtHwuoovwbXCnVVXUfRLcvQWyUPNHqwMfUemss9sbItwBNak xF9rDen/HfhcLMe7sJ/YG6pCa5+btJq9FSxlcCaHNZmljclBUVpyEDnAvXml2MjgM9GE cgkFQ+JMLKkyHGrQgfI8ITSQzi1gDPMAL5+D0Y50uTfuaIEJwvpsOsEM9gBNDCZSe0tu 5ebPB9VmLa9Cq3YSUlC29lnU+UHr3IzwbGqBoJX+mOyHlvcNzvuiydzbU8+XfxRtRp/d mqNC6vnfrrfeXOxIFUNp8rDQDCNxLyZE8m2f7B8QztCUwwtl1VRAXjqzHbA0cUa4GVZ5 DnfQ== X-Gm-Message-State: ANoB5pmaZYepZY+32oNxYSmm/79uQs5imqF6Kes+BTesjLsFhIAk9m26 3QI0fJwp7HKlJ3pAQ2+xj3tUiNUiuur47w== X-Google-Smtp-Source: AA0mqf6anGaEtEB35uw2Y8rC03s5xfR2liEwQd/cPamgjAJGvozJLawQXiKZqCMtTJ8kO5TxWKEiTg== X-Received: by 2002:a05:620a:797:b0:6f8:3f8f:e63d with SMTP id 23-20020a05620a079700b006f83f8fe63dmr13003590qka.32.1668953327467; Sun, 20 Nov 2022 06:08:47 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:47 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 138/241] global: Migrate CONFIG_ODROID_REV_AIN to CFG Date: Sun, 20 Nov 2022 09:07:28 -0500 Message-Id: <20221120140829.3057894-29-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-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 Signed-off-by: Tom Rini --- board/samsung/common/exynos5-dt-types.c | 4 ++-- include/configs/odroid_xu3.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 4 insertions(+), 4 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 50213a383528..93f88ef53eba 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -60,7 +60,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 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 9021044470ae..d8e9be8a82ef 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -147,7 +147,7 @@ CFG_NETDEV CFG_NETMASK CFG_NORBOOT CFG_NUM_DSP_CPUS -CONFIG_ODROID_REV_AIN +CFG_ODROID_REV_AIN CONFIG_OTHBOOTARGS CONFIG_OVERWRITE_ETHADDR_ONCE CONFIG_PCIE_IMX_PERST_GPIO -- 2.25.1