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 052EAC433FE for ; Sun, 20 Nov 2022 14:24:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AAAC7854A4; Sun, 20 Nov 2022 15:18:13 +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="Q4lna2kx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A7AF3854BB; Sun, 20 Nov 2022 15:17:57 +0100 (CET) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 B0AF88549E 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-qk1-x729.google.com with SMTP id v8so6523104qkg.12 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=58iRfDGpacmLw/WSPN/FNI5nyqu/i05L1XClAhxC1eA=; b=Q4lna2kxpDJTsjmEYn9mVb9HogNxhAZx2qdeWfY8P7PFfuLD7jIW/0R5Wi+CMVCaEg iBg7szvBujjdgj4c0ollMqgiFYlaBE/6xUDLMdvtslRtHyymCCEn84n3kOJ/jeI9pCh8 ayjsXgixvuIk8Ah0RHCbYxaYesIyBKKJVyxTI= 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=58iRfDGpacmLw/WSPN/FNI5nyqu/i05L1XClAhxC1eA=; b=PyNPEEHuhgikgf1WJZEDZWudvIBG/8bK2PGjXeidxfSQqaC+Mrl1r1n/z0ExQDYjBj 7cUPl9o+9RPOJahOe59LrSF3JT/6/K0SRewI0DtvDA9XqV7J9kg/1FNZwm68/TKW6YuQ puDfgJrrCXUxcR8HyU+aTQSZL6GEYFEVR6/YP6szEW4ZnNB6hiT0AvWFixLyndo3+Wnr 9aMzzCEByDamQVW3oQyDRVbPknHMZVFBU7VMNaCVJMU5/Rt5Fh11A/y8VIASa3tLkWi4 stBEIm81BeETFlaA6yn8H+SBgR9Ytn8Q6F1GCe8DT9ktD/qSse//JH42U1z3D7VOevpB KMew== X-Gm-Message-State: ANoB5pnRdlA5eS95x7epnPkWpyC2h77vwokasmYSsZss9kAR+3T2HtNU eCKdJ5Z6l0QPUWaC1FfOdJYHuhOccWIHDA== X-Google-Smtp-Source: AA0mqf6R/6/0pPoX5YOIM0Clvxbq9LmUK5AuPtqkWRQFyXFWhjm2AvsolG8pxMS3e330qYliVmiDvw== X-Received: by 2002:a05:620a:16b1:b0:6fa:34ba:ec48 with SMTP id s17-20020a05620a16b100b006fa34baec48mr12753759qkj.321.1668953870431; Sun, 20 Nov 2022 06:17:50 -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:50 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 209/241] global: Migrate CONFIG_TESTPIN_REG to CFG Date: Sun, 20 Nov 2022 09:17:11 -0500 Message-Id: <20221120141743.3059310-10-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 73e3709bbba2..9ec1dbc6f97b 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -216,7 +216,7 @@ int post_hotkeys_pressed(void) int testpin = 0; struct km_bec_fpga *base = (struct km_bec_fpga *)CFG_SYS_KMBEC_FPGA_BASE; - int testpin_reg = in_8(&base->CONFIG_TESTPIN_REG); + int testpin_reg = in_8(&base->CFG_TESTPIN_REG); 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 161b07406f3a..8ca64f8e9e9a 100644 --- a/include/configs/kmcoge5ne.h +++ b/include/configs/kmcoge5ne.h @@ -36,7 +36,7 @@ #define CFG_POST (CFG_SYS_POST_MEMORY|CFG_SYS_POST_MEM_REGIONS) #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 CFG_TESTPIN_REG gprt3 /* for kmcoge5ne */ #define CFG_TESTPIN_MASK 0x20 /* for kmcoge5ne */ #endif /* CONFIG */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 56a7f2f656c5..dbb98c572076 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -218,7 +218,7 @@ CFG_TEGRA_UARTA_SDIO1 CFG_TEGRA_VDD_CORE_TPS62361B_SET3 CFG_TEGRA_VDD_CORE_TPS62366A_SET1 CFG_TESTPIN_MASK -CONFIG_TESTPIN_REG +CFG_TESTPIN_REG CONFIG_THOR_RESET_OFF CONFIG_TPM_TIS_BASE_ADDRESS CONFIG_TSEC1 -- 2.25.1