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 ADF28C433FE for ; Sun, 20 Nov 2022 14:24:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 54ACB854CD; Sun, 20 Nov 2022 15:18:10 +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="Ixu/PB7Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F105A854AF; Sun, 20 Nov 2022 15:17:55 +0100 (CET) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 1D757854A1 for ; Sun, 20 Nov 2022 15:17:51 +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-qt1-x836.google.com with SMTP id h21so5946196qtu.2 for ; Sun, 20 Nov 2022 06:17:51 -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=ZRVMvErWIUQefkGMP/ww0Eh/IY5VucHy49844L2WcPg=; b=Ixu/PB7ZzZGs+kDWWINe59jpDnbpcim7B1EhumvKHI5pbpZ0zv2fIWL1WSWsckQfYE rAXHq9n1cy8kZNA4e/qw6hg2J26EPZyWXp6l937OTGzkCMzq1gjCRfkaN5Tpa+s0s7nS BwrEpQOUQKz6UqDrCc/KZ0QiU1DxNk4Zzbyjg= 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=ZRVMvErWIUQefkGMP/ww0Eh/IY5VucHy49844L2WcPg=; b=h/CJ1BFTC5oGRR9h5DQu6427+UMsTL8z9015h4R8tXrheH0MV5JF6ukKdap+plzI44 8rQLJ2EetsUcP+yoEZYEjP6dE4M1bDIHP7NRJXVojHxjmCoD3JzalPic1wf6C447rI/s FH8JlapOBAXYQ+sAcP+iK1jqfzKyYuQaJre1BjZi+p3U8kH+6BXPiZt+RQ1bRAkyzm9Y f1CylH6MehabDQoFPOTOAaQ6nC5bZ3sz+FsxxhcLZCcxCCmc/FvASBpfwlNt2NfESkXI 3t7WeXDmFYMA3ovTpRKWSNI6lVKP4KSIpilSj1T9xxQq/eS9wRuxkn1z8aIlV+MqNy7L UCCg== X-Gm-Message-State: ANoB5pnKQZQA/gBUrAZoP1LjH/5/zc7NFVr28qRonh3/U9FWZ9bAd0r7 kRev47NV1qNi8tscCeJj81i5dd8eMGymdg== X-Google-Smtp-Source: AA0mqf64elK2rELfozjir9io1X1sicBdYXsx0RQ/lmQNq8gqZ4rC4hv2J88JXHiIuP2hC+QoU0GdbQ== X-Received: by 2002:ac8:7657:0:b0:3a5:663d:730 with SMTP id i23-20020ac87657000000b003a5663d0730mr13706005qtr.291.1668953869799; Sun, 20 Nov 2022 06:17:49 -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-20020a05620a1a1700b006ce580c2663sm6400114qkb.35.2022.11.20.06.17.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:49 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 208/241] global: Migrate CONFIG_TESTPIN_MASK to CFG Date: Sun, 20 Nov 2022 09:17:10 -0500 Message-Id: <20221120141743.3059310-9-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120141743.3059310-1-trini@konsulko.com> References: <20221120140829.3057894-90-trini@konsulko.com> <20221120141743.3059310-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/keymile/km83xx/km83xx.c | 2 +- include/configs/kmcoge5ne.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 88afc76bbbf6..73e3709bbba2 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -217,7 +217,7 @@ int post_hotkeys_pressed(void) struct km_bec_fpga *base = (struct km_bec_fpga *)CFG_SYS_KMBEC_FPGA_BASE; int testpin_reg = in_8(&base->CONFIG_TESTPIN_REG); - testpin = (testpin_reg & CONFIG_TESTPIN_MASK) != 0; + testpin = (testpin_reg & CFG_TESTPIN_MASK) != 0; debug("post_hotkeys_pressed: %d\n", !testpin); return testpin; } diff --git a/include/configs/kmcoge5ne.h b/include/configs/kmcoge5ne.h index c8da6aa3ce4e..161b07406f3a 100644 --- a/include/configs/kmcoge5ne.h +++ b/include/configs/kmcoge5ne.h @@ -37,6 +37,6 @@ #define CFG_POST_EXTERNAL_WORD_FUNCS /* use own functions, not generic */ #define CPM_POST_WORD_ADDR CONFIG_SYS_MEMTEST_END #define CONFIG_TESTPIN_REG gprt3 /* for kmcoge5ne */ -#define CONFIG_TESTPIN_MASK 0x20 /* for kmcoge5ne */ +#define CFG_TESTPIN_MASK 0x20 /* for kmcoge5ne */ #endif /* CONFIG */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 8bb49acc7595..56a7f2f656c5 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -217,7 +217,7 @@ CFG_TEGRA_UARTA_GPU CFG_TEGRA_UARTA_SDIO1 CFG_TEGRA_VDD_CORE_TPS62361B_SET3 CFG_TEGRA_VDD_CORE_TPS62366A_SET1 -CONFIG_TESTPIN_MASK +CFG_TESTPIN_MASK CONFIG_TESTPIN_REG CONFIG_THOR_RESET_OFF CONFIG_TPM_TIS_BASE_ADDRESS -- 2.25.1